East Lothian Council has bought the site of Cockenzie Power Station after the iconic building was demolished in 2015.

An agreement was reached with Scottish Power which allowed the the site to be transferred to the local authority on Wednesday.

The power stations's two 500ft-tall chimneys dominated the skyline until they were brought down in a controlled explosion.

Thousands of spectators gathered to watch the chimney stacks come down in September 2015, after the plant was decommissioned.

The council said it will market the site for commercial purposes, with office buildings, landscaped areas and an "energy quarter" among plans for the future.

Depute council leader Norman Hampshire said: "I am delighted at this outcome.

"This is a key site of huge importance to the economic future of East Lothian and for the communities that surround it.

"The council has been actively involved in discussions around the future of the site for a number of years now, since it became clear that Cockenzie Power Station was to be decommissioned and that plans for a gas-fired station would not be going ahead."

Lee Warren, head of thermal generation at Scottish Power, said: "Scottish Power is pleased to have completed the sale of the former Cockenzie power station site after several months of positive discussions with East Lothian Council.

"ScottishPower will work closely with East Lothian Council to ensure arrangements are finalised for the ongoing maintenance and management of the assets it continues to be responsible for associated with the Musselburgh Lagoons."