Police - Hamilton

Sgt. Derek Mellor is a 14-year veteran of the service who was once the lead of Hamilton Police's anti-human trafficking initiative dubbed "Project Rescue." (Terry Asma/CBC)

A Hamilton police officer facing numerous sexual misconduct charges, who always hoped to keep his job, has resigned.

Sgt. Derek Mellor, who headed up Hamilton Police Service's human trafficking initiative, pleaded guilty earlier this year to nine Police Services Act charges after engaging in sexual acts and sending lewd messages as well as photos and videos of his penis to sex workers and colleagues.

His lawyer said this year that Mellor was hoping to keep his job. But on Thursday, Mellor submitted his resignation, which is effective Nov. 3. 

Mellor was the subject of a hearing at Hamilton police headquarters Monday. 

All of the police act charges against Mellor will be stayed at his next appearance. A provincial Special Investigations Unit investigation into his conduct will continue.