Councillors have approved £9m plans to construct a new primary school in a village in the Scottish Borders.
Officers had recommended support for the scheme in West Linton despite some local opposition.
Concerns had been raised about the impact on nearby properties and the proposed design of the building.
However, Scottish Borders Council decided to approve the project which could allow work to get under way in the autumn.
A new school for the village has been under discussion for a number of years.
The proposals will see a 12-classroom building constructed on land near Deanfoot Road.
There had been concerns raised that the materials being used would not be in keeping with the area.
Planning officials recommended that the project was approved, subject to a lengthy list of conditions.
These include measures to address road safety and access issues, as well as landscaping and design stipulations.