A heritage housing estate spearheaded by Prince Charles is set to become the site headquarters of a huge £24 million energy research project.
The National Energy Research Demonstrator (NERD) project centre would be built on the Knockroon Estate, which was previously earmarked for more housing.
East Ayrshire Council is acquiring the ground near Cumnock for a nominal fee so the hi-tech renewable power hub can be constructed subject to planning permission.
It would see Cumnock generate its own power and bring a jobs and business boost to the former coal mining area.
Plans were submitted for 770 homes at Knockroon around a decade ago but that has failed to materialise.
It is understood only 38 houses have been built, which were crafted based on a heritage and sustainability style. The properties were planned by the Prince's Foundation backed by Prince Charles.
Now a purpose built 'centre of excellence' will see researchers and businesses work together to find renewable solutions on Knockroon, which sits close to the saved Dumfries House.
Goals include reducing energy bills, fuel poverty and carbon emissions in the area.
If approved, work could start next year on the £7.5m council and £17m UK Government funded project, which is part of the Ayrshire Growth Deal. East Ayrshire Council leader Douglas Reid said: “The site was given for a nominal fee, which was very generous."
He added: “The latest green energy technologies such as hydrogen, wind and geothermal heating can be applied locally, and create opportunities for Cumnock and surrounding areas.
"It is absolutely appropriate that a community who provided so much energy for the nation in the form of coal extraction, should benefit from this major investment into green energy and carbon reduction.”
Council depute leader Elena Whitham said: “We have listened to our young people, who have challenged us to tackle climate change, and provide jobs and training opportunities.”
Councillor Whitham said she couldn’t “think of a better way to achieve this locally than putting Cumnock at the epicentre of the growing development of green energy for Scotland.”
Other areas were also considered for the energy centre including the former Auchinleck Academy and Caponacre Industrial Estate.
Don't miss the latest Ayrshire headlines – sign up to our free daily newsletter here