Christopher Ender, 21, of State College, pleaded guilty to one count of simple assault and one count of reckless endangerment.
Centre County Judge Jonathan D. Grine on Monday ordered that he serve nine to 23 and a half months in state prison.
Ender was initially charged with rape and sexual assault, both felonies, after an incident in 2014.
Both felonies were thrown out.
Sign Up and Save
Get six months of free digital access to the Centre Daily Times
According to police, Ender brought the victim back to his apartment after a party and pursued sex despite her not giving consent.
According to the affidavit, Ender had sex with her after she lost consciousness.
According to court documents, when the woman awoke, she got dressed and fled the apartment.
The woman went to the emergency room where a rape test kit was performed.
According to a press release issued by Centre County District Attorney Stacy Parks Miller, Ender is not permitted to have contact with the victim and is required to complete Project Point of Light or comparable sex offender counseling.