A £10.5m flood prevention scheme in Moray that should cut the risk from a major deluge to just once in 100 years has been approved.
Scottish Executive ministers have backed the project for the Mosset Burn.
They will fund 80% of the cost and Moray Council will finance the rest, after modifications were agreed.
It is expected the work, which should take 15 months to complete from January, will protect about 800 homes in the Forres and Rafford areas.
Moray Council convener George McIntyre said years of detailed planning would pay off with the construction of a reliable flood defence scheme.
He said: "It may have appeared to have been a long time in the planning, but it is public money we are spending, and as such it's essential that we take every precaution at the design stage to ensure the scheme will work."
The Forres scheme is part of a multi-million pound flood protection project planned for affected areas in Moray.
These include Rothes, Lhanbryde and Elgin which were severely hit by flooding in 1997 and 2002.
Damage to property ran to millions of pounds and caused hundreds of residents to be re-housed for months in temporary accommodation.