Dozens of Toronto-based gang members and a police officer from nearby Hamilton were arrested when a joint task force executed dozens of search warrants.

Hundreds of southern Ontario police officers executed 50 search warrants in an area spanning from Barrie to Hamilton early Thursday morning as part of a months-long investigation into a Toronto-based gang.

"The investigation was launched based on credible evidence indicating that the 'Monstarz' street gang was engaged in extensive criminal activity that posed a direct and very real threat to community safety," Acting Toronto Police Chief Jim Ramer said Friday.

The gang operates in the northwest quadrant of Toronto, but has ties in the Peel, Halton, Bradford, Durham, York, Niagara and St. Catharines areas.

Members of the gang had been involved in 44 recorded incidents of violence in and around the Rexdale area since May 2011, Ramer said at a news conference.

The incidents included robberies, shootings and homicides, with direct links to trafficking of illicit drugs and firearms, Ramer said.

Over the last nine months, investigators have worked with other local police forces as well as the Ontario Provincial and Royal Canadian Mounted Police to dismantle the gang and its affiliates, Ramer said.

The investigation led to the execution of 50 search warrants conducted simultaneously in an area spanning from Barrie to Hamilton on Thursday morning. Police said that a large quantity of drugs, guns and cash were seized in the raids. Officers said 45 people were arrested on Thursday morning, and 27 had been arrested at earlier dates.

"These arrests have removed many violent and armed criminal gang members from our communities," Ramer said.

Among those arrested was a Hamilton police officer, he said. Officer Craig Ruthowsky, 41, was charged with breach of trust, conspiracy to commit and indictable offence, participating in activities of a criminal organization and commission of an indictable offence for a criminal organization.

The 17-year veteran of the Hamilton Police Service has been suspended with pay since June 2012, and Hamilton police are working with Toronto officers as they investigate his alleged involvement in the Monstarz gang.