TORONTO -- A $16.5 million settlement has been reached in a class-action lawsuit over mass arrests at the 2010 G20 summit.

The agreement comes after 10 years of court proceedings and negotiations between the Toronto Police Services Board and representatives for about 1,100 people who were arrested during the summit.

In 2010, former Sudbury MPP Rick Bartolucci was the minister of Community Safety when a controversial law was passed that many believed allowed police to arrest people who came within five metres of the summit security fence if they didn't produce identification.

It actually decreed that all streets and sidewalks inside the summit security fence were a "public work" just like courthouses -- meaning police could search people trying to enter the area. But neither the police nor politicians set the record straight until after the June 26-27 summit was over.

More than 1,110 people were arrested or detained during the Toronto summit, which saw significant property damage done by a violent minority of protesters. Under the settlement, those arrested will each be entitled to compensation between $5,000 and $24,700, depending on their experiences.

The deal also includes a public acknowledgment by police regarding the mass arrests and the conditions in which protestors where detained, as well as commitment to changing how protests are policed in the future.

Those who were wrongfully arrested will also have their police records expunged.

Toronto hosted the G20 summit of world leaders in June 2010.

Many public demonstrations were organized to address issues like climate change, globalization, and poverty.

Thousands of protestors demonstrated peacefully, but some protests were accompanied by deliberate vandalism.

Police reacted by encircling large groups of hundreds of protestors in several locations in downtown Toronto with cordons of riot police, holding them for hours, and then transferring many of them to a temporary detention centre.

This report by The Canadian Press was first published Aug. 17, 2020.

-- Files from Darren MacDonald