Residents of a Derbyshire town have been told it is safe for them to return to their homes following remedial work on a damaged reservoir.
The reservoir contains around 1.3 million tonnes of water.
Firefighters used high volume pumps to reduce water to a safe level, while helicopters were used to drop one-tonne sandbags to bolster the damaged part of the structure.
Derbyshire Deputy Chief Constable Rachel Swann said: "The hard work and dedication to achieve this has been quite simply incredible and means that I am now able to lift the evacuation order placed on Whaley Bridge and the surrounding area.
"At the forefront of our thoughts are the communities affected by this incident who have been steadfast in the face of the peril that lay behind that dam wall.
"The danger posed by the millions of tonnes of water, which would have destroyed homes and livelihoods, could not be underestimated.
"Over the coming days and weeks further work will be completed to ascertain the damage caused to the dam wall and what actions are required for the future. We must not forget that the dam is broken."
A spokesperson for the Environment Agency said the dam requires significant engineering works to bring it to a condition where its long-term safety can be assured.