Dozens of households had to be evacuated at Bervie Braes
A £3m funding package to stabilise the slopes of Bervie Braes in Stonehaven has been announced.
Residents have been living in fear that a landslide could cause serious damage to homes at the base of the cliffs.
More than 60 households had to be evacuated last month after heavy rainfall affected the area.
Finance Secretary John Swinney has pledged £2m towards securing the slopes, with Aberdeenshire Council picking up the remainder.
The money will be used to carry out soil nailing at Bervie Braes.
Mr Swinney said: "On a recent visit to Bervie Braes, I was struck by the scale of the problems that residents have experienced and I very much sympathise with the difficulties they have faced.
"I'm pleased to be able to provide reassurance that these works will bring about the much needed long term solution to the problems at Bervie Braes, protecting local residents and home owners from further landslips."
Anne Robertson, leader of Aberdeenshire Council, said: "This funding commitment and our partnership with the Scottish government means that we can now give property owners confidence that the land will be stabilised.
"We are grateful for the swift action in reaching a decision."
Stonehaven Community Council chairman David Fleming said he was delighted.