A suspended Toronto police drug squad officer at the centre of a corruption probe pleaded guilty Friday to a string of brutal attacks on a woman that stretched over a number of years.

Const. Ned Maodus appeared in a Brampton, Ont., court and admitted as part of a plea bargain deal to assault causing bodily harm, uttering death threats, and illegally pointing his gun at the woman.

In exchange, the Crown agreed to drop at least a dozen other charges against Maodus, including drugs and weapons offences, as well as sexual assault.

Maodus avoided jail time and was sentenced to two years' house arrest under strict conditions at the home of his mother in Windsor.

The alleged victim's identity is protected by a publication ban, but Friday's deal eliminates the need for her to testify.

Maodus's lawyer argued his client suffered from mental health issues, including flashbacks and bursts of anger, because of his work as a police officer.

Since his arrest, he has sought treatment for his condition.

The guilty plea puts an end to Maodus's career as a police officer, but will not conclude his legal troubles.

He still faces a list of other charges stemming from the corruption probe, including obstruction of justice, perjury and extortion. That trial is set to begin in January.