Google abandoned its smart-city development in Toronto on Thursday after more than two years of controversy over privacy concerns and amid economic uncertainty caused by the pandemic.

A unit of Google’s parent company Alphabet had been proposing to turn a rundown part of Toronto’s waterfront into a wired community, but Sidewalk Labs chief executive Dan Doctoroff said in a statement that it is no longer financially viable.

“For the last two-and-a-half years, we have been passionate about making Quayside happen — indeed, we have invested time, people, and resources in Toronto, including opening a 30-person office on the waterfront. But as unprecedented economic uncertainty has set in around the world and in the Toronto real estate market, it has become too difficult to make the 12-acre project financially viable without sacrificing core parts of the plan we had developed together with Waterfront Toronto to build a truly inclusive, sustainable community,” Doctoroff wrote in a blog post.

“And so, after a great deal of deliberation, we concluded that it no longer made sense to proceed with the Quayside project, and let Waterfront Toronto know yesterday.”

Sidewalk Labs had partnered with a government agency known as Waterfront Toronto with plans to erect mid-rise apartments, offices, shops and a school on a 12-acre (4.9-hectare) site — a first step toward what it hoped would eventually be a 800-acre (325-hectare) development.

Among other things, the development planned to have heated streets to melt ice and snow on contact, as well as sensors that would monitor traffic and protect pedestrians.

“[W]e’ve already started innovative companies addressing urban mobility, next-generation infrastructure, and community-based healthcare, and invested in startups working on everything from robotic furniture to digital electricity,” Doctoroff wrote.

“We continue to work internally on factory-made mass timber construction that can improve housing affordability and sustainability, a digital master-planning tool that can improve quality of life outcomes and project economics, and a new approach to all-electric neighborhoods.”

But some Canadians balked at the privacy implications of giving one of the most data-hungry companies on the planet the means to wire up everything from street lights to pavement. Changes were since made to make it more palatable but some celebrated Google’s decision to scrap it.

“This is a major victory for the responsible citizens who fought to protect Canada’s democracy, civil and digital rights, as well as the economic development opportunity,” said former BlackBerry chief executive Jim Balsillie, a smartphone pioneer. “Sidewalk Toronto will go down in history as one of the more disturbing planned experiments in surveillance capitalism.”

Doctoroff had said the company was not looking to monetize people’s personal information in the way that Google does now with search information. He had said the plan was to invent so-far-undefined products and services that Sidewalk Labs could market elsewhere.

Some wanted the public to get a cut of the revenue from products developed using Canada’s largest city as an urban laboratory. Concerns in Canada intensified following a series of privacy scandals at Facebook and Google.

Complaints about the proposed development prompted Waterfront Toronto to re-do the agreement to ensure a greater role for the official agency. A prominent Toronto developer resigned from the Waterfront Toronto board over the project.