A group of 17 people behind an alleged plot to cause mayhem during the G20 summit in Toronto last year cut a deal on Tuesday that sees the majority of them avoid more jail time.

The deal struck between the Crown and the so-called masterminds of a militant march through Toronto on June 26, 2010, recommends six members of the group receive jail terms while 11 others have their charges dismissed.

Those six will not be tried on the original charge of conspiracy, but instead accepted a lesser charge of counselling to commit an indictable offence.

None of the six people who pleaded guilty on Tuesday actually took part in the riots.

CTV Toronto's John Musselman reports that an agreed statement of facts was read into the record during a court appearance on Tuesday, and sentences between six and 20 months were being recommended by the Crown.

Those who pleaded guilty include four members of the Southern Ontario Anarchist Resistance and two members of a Laurier University anarchist group.

Alex Hundert, Leah Henderson, Amanda Hiscocks and Peter Hopperton were arrested in pre-dawn raids on June 26, 2010, before protesters marched through the streets of downtown Toronto setting fire to police cars and smashing storefront windows.

Hundert and Hiscocks also pleaded guilty to an additional charge of counselling to obstruct police.

Erik Lankin and Adam Lewis, members of Anti-War at Laurier, were also arrested on June 26, 2010 and pleaded guilty on Tuesday.

Defence lawyer Peter Rosenthal said that the police should be investigating big crimes.

"It was a huge amount of resources we know that there were a huge number of charges laid against G20 protesters, very few were proceeded with and many were withdrawn," he told CTV Toronto. "It was an absurd exercise of government power in my view."

During a court appearance last year, the Crown said they were dealing with an "avalanche of information" based on a massive police investigation launched ahead of the G20 summit.

The court heard on Tuesday how two undercover Ontario Provincial Police officers infiltrated the group more than a year before the G20 summit was held in Toronto and overheard the six ringleaders encouraging others to cause damage during the summit.

Sentencing will begin next week and will continue until January.

With files from CTV Toronto's John Musselman