GAITHERSBURG, Md. (AP) — A Maryland Motor Vehicle Administration driving instructor has been charged after a woman said he offered her a passing grade for a sex act.

Authorities say 21-year-old Daniel Perry of Temple Hills was charged with one count of malfeasance in office after the woman complained to the man’s supervisors.

READ MORE: Marilyn Mosby's Office Releases Names Of Baltimore Police Officers On "Do Not Call" List

Police say Perry was administering a driving test on July 9 to the woman, who failed to pass the course because she didn’t fully brake at a stop sign. Court documents say Perry is accused of offering to change her score in exchange for a sexual favor.

READ MORE: Maryland Man Faces Federal Charges Following Capitol Riot

Police say the woman said she exited the vehicle and reported Perry to authorities.

Perry is scheduled to appear in court on Aug. 25. WJLA-TV reported Perry’s wife referred questions to his attorney.

MORE NEWS: Maryland Students Suffer From Anxiety Following School Shooting In Texas

(Copyright 2015 by The Associated Press. All Rights Reserved.)