MILLERSVILLE, Pa. (AP) — A former central Pennsylvania university student who is accused of trying to abort his girlfriend’s pregnancy by putting bleach in her water has pleaded guilty.

Jersey Shore Pizzeria Owner Pleads Guilty To Not Reporting Over $680,000 In Income

READ MORE: 4 Shot Inside Park City Center Mall, Lancaster Police Say

Twenty-one-year-old Theophilous Washington pleaded guilty Tuesday to attempted homicide of an unborn child. The Washington, D.C. resident had also been charged with attempted homicide of the woman and reckless endangerment. Lancaster County prosecutors say those charges will officially be dropped at sentencing.

Investigators say the former Millersville University student had the woman drink from the bleach-tainted water bottle last year, causing her to fall ill in her dorm.

READ MORE: 'Everyone Was In Pure Panic': Good Samaritans Rush To Shooting Victims' Aid At Park City Center Mall

The woman was two-months pregnant at the time, and has since given birth to the child. Officials say it appears neither the woman nor the child was harmed.

5 Years After Sandy, Survey Shows Displeasure With NJ Recovery Efforts

Washington will be sentenced after a background check is completed.

MORE NEWS: Man In Critical Condition After Fairhill Shooting, Police Say

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