More than £134m is to be spent improving education facilities in the Borders over the next six years.
The Earlston High project is part of a £60m secondary scheme
Some £60m goes to secondary education with new schools at Duns, Earlston and Eyemouth (the 3HS project).
A further £19.8m will see new primaries at Caddonfoot, Kingsland, Halyrude and Lauder (the 4PS project). A new West Linton primary will cost £12m.
Scottish Borders Council leader David Parker said it heralded the start of a "golden age" for education in the area.
SBC outlined the overall spending figures after completing an internal review of education services.
As well as the new primaries and secondaries other school properties will be improved and upgraded.
A total of £10m will go towards better access and pedestrian safety as well as extensions to Heriot and Priorsford primaries and improvements to Duns and Parkside primaries.
Further and higher education in the Borders are also gaining substantial investment.
Heriot-Watt University and Borders College have jointly secured £33m towards the new FE college in Hawick and a new joint university and college campus at Netherdale, Galashiels, with new halls of residence.
"This is a truly golden age for Borders' education," said Mr Parker.
"One of the most significant investments in generations is taking place in our region, involving the primary, secondary, further and higher education sectors.
"This record level of investment will provide state-of-the-art facilities that will benefit generations of Borderers for many years to come."
SBC joint executive education spokesman Andrew Farquhar said spending in the area had never been so high.
"More than 5,000 of our children and staff will reap the benefits of these outstanding opportunities," he said.
"We are very proud of our part in securing this investment.
"It will enable us to sustain and build on the outstanding quality and scope of the education opportunities we offer in the Borders, from pre-school right through to university.
"It's going to be a very busy and exciting time over the next few years as we work hard to have the first of our new secondary schools open by 2008."