A Detroit police officer has resigned after a racy OnlyFans page she was running was found by the department, and an investigation was launched.

"One of our officers through her Instagram account had a paywall set up and was posting pornographic videos on the other side of the paywall," Chris Graveline, the director of the Detroit Police Department's Professional Standards section, told FOX 2 Detroit.

Chief James White learned about the page Tuesday morning, launched an investigation and suspended Janelle Zielinksi. However, she resigned a day earlier, Fox reports.