TORONTO - Ontario's Ombudsman says he is done investigating a secret law that sparked confusion about police powers during Toronto's G20 summit.

In a Twitter update Saturday, Andre Marin said he has reviewed all the evidence and will give a draft report to the Ontario government within the next 10 days.

"Once finalized, the G20 report will be made public in its entirety," Marin wrote on Twitter, adding that it will be made public before the end of the year.

Marin's 90-day probe looked at why the province passed the secret law, which many thought gave police powers to arrest people who came within five metres of a security fence at the summit site if they didn't show identification.

The law actually stated that officers could only search people trying to enter the secure perimeter.

But neither police nor politicians set the record straight until after the June summit was over.

In July, Marin said even he was fooled, and his office received dozens of complaints.

His report will look at whether it was necessary for the province to pass such regulations and how the government communicated with the public.

He will examine how police interpreted the law and reacted to those who were demonstrating.

About 1,000 people were arrested on the weekend of the G20 summit after a group of black-clad rioters broke off from a peaceful protest and rampaged through Toronto's core, smashing windows and setting police cruisers on fire.

Many of those arrested were released without charges, while dozens of others saw their charges later dropped in court.

Toronto's police services board, the civilian oversight body for the police, will conduct an independent review of police actions during the G20.

The Ontario government also brought in former Ontario chief justice Roy McMurtry to conduct his own review.