This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

ORLEANS COUNTY, N.Y. — A man accused of holding a woman captive for nearly two months and repeatedly raping her posted bail earlier this week, CNN reports Friday.

Gerardo Quiros is accused of holding a woman captive in his Ridgeway home from March to April 2017, and repeatedly sexually assaulting her for seven weeks. (Orleans County County Jail)

Gerardo Quiros held a woman captive for seven weeks at his Ridgeway home, during which time he is accused of forcing her to perform sexual intercourse and oral sex acts, the Orleans County District Attorney told CNN affiliate WROC.

“The allegations are that they had an ongoing relationship and it was in the course of that relationship that these crimes occurred,” DA Joseph Cardone told the upstate New York TV station.

The woman was locked in a bathroom during the ordeal, and punched in the head, obstructing her breathing, The Buffalo News reports.

Quiros also allegedly smashed her phone when she attempted to call 911.

Sheriff’s officials responded to the home on April 29, but Quiros fled into a nearby wooded area, Buffalo News reports.

He was captured two days later in Niagra County.

Quiros faces a slew of charges, including seven counts of forced sexual intercourse and 20 counts of forced oral sexual conduct, WROC reports.

He was arraigned earlier this week, and posted bail.

CNN contributed to this report.