A Pennsylvania man was charged with sexually assaulting a bridesmaid two days before he got married last month.

Daniel J. Carney, 28, was charged with one felony count of involuntary deviate sexual intercourse with an unconscious person, one misdemeanor count of simple assault and another misdemeanor of indecent assault without consent of other, according to court records.

Pennsylvania state police said that on Sept. 2, they began investigating a sexual assault at the Shawnee Inn and Golf Resort in Monroe County, Pennsylvania, three days earlier. Carney is accused of assaulting a 29-year-old Oregon woman, who was in town for his wedding, in the men's locker room of the inn.

The woman, who was a bridesmaid in the wedding, told police that after a day of drinking and paddle boarding with Carney's wedding party, she returned to the hotel Aug. 30, according to a criminal complaint obtained by news outlet the Morning Call.

Groom-to-be allegedly robs bank:Texas man robbed bank day before wedding to pay for ring, venue, sheriff says

She recalled being heavily intoxicated and waking up in the locker room with Carney on top of her and her bikini bottoms pulled off, the complaint says. She told police the bride-to-be walked into the locker room and yelled at Carney while another bridesmaid helped her leave the shower.

Carney allegedly called to apologize the next morning. He texted the woman on the day of wedding, asking her to take the morning after pill to prevent a pregnancy and to "be as happy as possible" for the bride, according to records obtained by The Washington Post.

Friends of the couple told WNEP-TV that the wedding occurred as planned.

The day after the wedding, the woman went to a hospital to report that she had been sexually assaulted, according to the Post. Carney initially told police he was very drunk and felt the bridesmaid had "taken advantage" of him, but surveillance footage shows him pulling the woman into the locker room, according to the police report.

Police got permission from the district attorney's office to listen in on a phone call between Carney and the woman during which he apologized and confessed to assaulting her, the Morning Call reported. When police interviewed him later that day, Carney allegedly admitted leading the woman into the locker room.