A former cop in Philadelphia has pled guilty to sexuallty assaulting a 14-year-old girl, the website PhillyBurbs.com reports. The police officer, 36-year-old Anthony Dattilo, could serve more than four years in state prison. He was fired from the police force after he was arrested last year.

He pleaded guilty to “indecent assault, unlawful contact with a minor, promoting the prostitution of a minor and related charges,” the Philadelphia news outlet reported.

The case dates back to May 2012, when Dattilo was arrested. The 14-year-old victim had sent a text message to her family saying she was being held against her will at a motel. After the family contacted police, law enforcement went out looking for her, and found them.

The 14-year-old girl said that she had been visiting her 21-year-old cousin, who had received a phone call from Dattilo. Dattilo had paid for sex with the 21-year-old in the past, according to court records, and offered to pay $100 for more sex that night. Dattilo also offered to pay $100 for sex with the 14-year-old.

Dattilo had sex with the older girl while the 14-year-old was in the room, and then began to touch the younger girl. Law enforcement found them while Dattilo was sexually assaulting the 14-year-old.

Dattilo will be a registered sex offender for 10 years, and is currently free on bail while awaiting sentencing.

The older cousin, 22-year-old Theresa Cameron, will stand trial in September. The attorney general did not discuss details of Cameron’s case with the news outlet.