MSPs have unanimously backed a controversial private bill to allow a secondary school to be built in a public park.
The bill is intended to make it possible to construct a replacement for Portobello High School in Edinburgh.
The legislation will face further scrutiny in the Scottish Parliament.
Some local people have opposed the plan because of the resulting loss of green space in Portobello Park, which they argued was common good land.
More than 12,000 people took part in a public consultation organised by the City of Edinburgh Council.
The council described it as "a tremendous response" to the consultation, which closed in January 2013.
Campaigners won a legal battle in September 2012 which blocked the plans to build in Portobello Park.
The new £41m school was first proposed 10 years ago to replace the ageing 1960s building in Duddingston Road.
The Holyrood debate on the plans can be watched on demand at BBC Scotland's Democracy Live website.