A Florida cop instructed the woman he was having an affair with to call 911 so he could see her while keeping it a secret from the department he worked for, as Gawker’s Adam Weinstein notes.

The officer, Shaun Whiting of Ocoee, Florida, is now facing the loss of his certification as a police officer. Whiting, who has children, has since resigned from the police department. The case was first reported by WFTV, a news outlet in Florida.

According to WFTV, Whiting met the woman at grocery store. They began exchanging e-mails and talking. The woman booked a hotel room to see Whiting, but since he had to be accounted for while on duty, he told her to call the cops and then hang up. Whiting was dispatched to the hotel to carry out the affair.

The woman also rode along with Whiting, and the police approved it. They ended up at a police station, where the woman performed a sex act on him while Whiting was in uniform.

The husband of the woman Whiting was having an affair with alerted the police, and that’s when they started an internal investigation.

Now, the Florida Department of Law Enforcement may revoke Whiting’s cop certification. A hearing on the case is scheduled in three weeks.