A Canadian company that worked to identify and target voters in favour of Brexit is facing renewed scrutiny after allegations that the campaign it worked for may have breached spending rules.

Victoria-based AggregateIQ (AIQ) was hired to do $5 million worth of data analytics for the “Vote Leave” campaign ahead of the 2016 referendum on Britain’s membership in the European Union.

Shahmir Sanni, who volunteered for a youth campaign known as BeLeave, told The Guardian newspaper the group worked with Vote Leave in a way that breached The Electoral Commission’s spending cap.

“It not only shattered that dream and belief I had in Britain but also made me scared for the rest of the world if Britain, the beacon of democracy, can be cheated like that and its people lied to like that,” Sanni told The Guardian.

The U.K. firm Cambridge Analytica has faced scrutiny in recent weeks over allegedly using Facebook data from 50 million users without their knowledge or consent.

Canadian data scientist Christopher Wylie, who worked at Cambridge Analytica before famously speaking out against the tactics, has said that he helped to set up AIQ.

“They would be looking for people, ones they should be sending different message to,” Wylie told The Guardian of AIQ.

AIQ is now under investigation by the Office of the Information and Privacy Commissioner for British Columbia, which is looking into whether Canadian Facebook data was misused.

AIQ says it “works in full compliance within all legal and regulatory requirements in all jurisdictions where it operates” and “has never knowingly been involved in any illegal activity.”

The data companies working on Brexit reflect a new reality of political campaigning, where organizers are increasingly relying on software to comb the social media accounts of individual voters.

Pollster Quito Maggi of Mainstreet Research says that “knowing how people might vote or even if they will vote is the ultimate aim of collecting that data.”

It’s unclear whether the alleged illegal spending on Brexit affected the outcome of the contentious vote but the allegations could serve as a warning to election regulators.

With a report from CTV Senior Parliamentary Correspondent Glen McGregor