A Syracuse man was charged with second-degree burglary after crashing his Audi, breaking into a nearby home and then calling another person to have sex, according to New York State Police.

Allan J. Gonzalez, 22, of Syracuse, was arrested on Sept. 1, police said in a news release Wednesday.

Police found that Gonzalez was driving a 2003 Audi A-4 on County Route 145 in the town of Adams in Jefferson County when his car went off the road and hit a trailer parked near a house, police said.

Gonzalez broke into the unoccupied house and invited another person to the house to have sex with and drink the homeowner’s alcohol, police said.

He was arraigned in Town of Adams court and initially sent to the Jefferson County Justice Center on $1,000 bail. According to VineLink, a prison database, Gonzalez was released from jail on a court order.