Pupils at a top-performing County Durham comprehensive are to get a new £25m school, it has been announced.
The school will now be rebuilt on one site
The move means Durham Johnston School, which has the best A-Level results in the county, will no longer be split between two sites, two miles apart.
Just two months ago Durham LEA said it was £10m short of the cash needed.
But now it has found the funds to bring the Crossgate and Whinny Hill campuses in Durham City together and the new school will open in September 2008.
Under the government's "Building Schools for the Future" every secondary school in the country will be upgraded or rebuilt over the next 10 to 15 years.
But because of Durham Johnston's good academic record it did not qualify to join the scheme and the LEA has had to make up the cash shortfall.
Head teacher Carolyn Roberts welcomed the news. She said: "It has been a constant drain on resources having two sites because classes have had to be split and teachers spend their lunch hour driving between campuses.
"So the idea that we will have a single site, state-of-the-art is exactly what we wanted - we are absolutely overwhelmed."
The new school, which will accommodate 1,500 pupils, will be built at Crossgate Moor in between the current sites.