WESTMINSTER, Md. (AP) — A 19-year-old man has been sentenced to 18 months in jail for having sex with a 12-year-old girl.

Kevin Michael King of New Windsor was sentenced Thursday. The Carroll County Times reports that he apologized in court to the victim’s family.

READ MORE: Maryland Man Faces Federal Charges Following Capitol Riot

King was convicted of second-degree rape as part of a plea deal in which he pleaded not guilty but agreed not to challenge the state’s evidence in the case.

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

Prosecutors say King had sex with the girl in 2010.

MORE NEWS: Fewer Blue Crabs In The Chesapeake Bay "Continue A Worrying Trend"

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