A University of Virginia student and scion of a prominent Republican family has been charged with rape and forcible sodomy in an alleged attack that left a young woman bruised and bloodied.

Dalton Baril, 20, of Richmond, turned himself in to authorities at the Albemarle County Regional Jail Wednesday morning and appeared in court through a teleconference for a bond hearing. The video screen showed him dressed in a white and black striped inmate jumpsuit, his hair neatly parted.

The alleged victim, also a U-Va. student, sat still in the front of the court during the proceedings as prosecutor Areshini Pather detailed a harrowing assault that occurred on the night of Feb. 1.

Pather said that the two were acquaintances when Baril spotted the young woman in Trinity Irish Pub, a bar near the campus. Although he was underage, he purchased the woman a shot of tequila, Pather said. During the encounter, Baril attempted to kiss the woman and she demurred, rejecting his advances by saying, “not in public,” the prosecutor said. Afterward, they left the bar and began walking together and stopped at his apartment. Once inside, she told Baril she did not intend to stay long and entered the bathroom, Pather said. When the woman exited the bathroom, the prosecutor said, Baril had disrobed to his boxers. Again the woman told him she did not intend to stay.

“Please don’t make this bad,” the woman told Baril, according to Pather.

But Baril restrained the woman and began to assault her, biting her lip and her breast, the prosecutor said. Pather said a nurse who later treated the woman found injuries to her vaginal area and bruising on her face.

Pather said that Baril sent a text message to the woman after the alleged assault, writing: “I’m sorry if I got overly excited.”

Baril has not yet entered a plea. A lawyer who represented him in court said that she intends to present evidence that “substantively contradicts” aspects of the prosecutor’s narrative. She declined to comment after the hearing or identify herself to The Washington Post. The young woman was not identified in court, and The Post generally does not name victims of alleged sexual assault without their consent.

Court documents with further details on the case were under seal Wednesday.

Baril comes from a family steeped in Virginia Republican politics and has a deep connection to U-Va. He is the grandson of the late governor John N. Dalton (R), a U-Va. law graduate. His mother, Mary Dalton Baril, is a U-Va. alumna and a partner in the law firm McGuire Woods. His father, Steve Baril, has given tens of thousands of dollars to Republican campaigns since 2001, records show, and ran as a Republican for state attorney general in 2005, losing in the primary to Robert F. McDonnell.

Baril, who withdrew from U-Va. in April after the university began investigating the incident, has been cooperating with police. Baril voluntarily submitted a DNA swab.

Citing Baril’s cooperation, Charlottesville General District Court Judge Robert H. Downer Jr. set a $10,000 bond and ordered that Baril remain in his mother’s or father’s house. He must also be electronically monitored and refrain from alcohol or drugs.

Get updates on your area delivered via e-mail