Power has been restored to the last of more than 100,000 homes who lost electricity during storms this week.
Properties in the Highlands, Tayside, Argyll and Dumfries and Galloway were worst affected as winds of up to 142mph battered the country on Thursday.
Scottish Hydro said more than 80,000 customers lost power as electricity lines and conductors were damaged.
Around 70,000 of those affected were back on the grid within a day and the last of the homes cut off have now been reconnected.
Scottish Power faced similar problems with 50,000 customers losing power but they have now repaired the supply.
It is estimated there were 300 high voltage faults, around 800 breaks in conductors and a large number of wooden poles holding power lines needed to be replaced, some in remote areas.
Thousands of engineers worked to fix the problems and "welfare vans" were sent to affected areas to provide hot water, food and drinks.
Scottish Hydro's head of engineering Alan Broadbent said, "I would like to thank everyone who has been affected by the loss of power for their patience. While the majority of customers had their power restored by the end of the first day, a number of areas sustained significant damage and engineers worked late into the night and from early in the morning to repair the network.
"Scottish Hydro Electric Power Distribution (SHEPD) had over 1,100 engineers and support staff working to restore power and over 130 call centre operators handling customer calls.
"During this time, looking after our customers was a priority and SHEPD provided hot food and drinks through local cafes and restaurants and mobile catering units. Mobile generators were also connected to care homes and other priority locations.
"Although power has now been restored, our work is not yet complete. We will still have a presence in some areas over the next few days to carry out further repairs and follow-up work to restore the network to normal operations."
A lorry driver died and commuters faced major travel disruption during the severe weather. The entire rail network was shut down and flood warnings were put in place along the east coast as a tidal surge was expected.
Scottish Hydro said all reported incidents have been dealt with, but asked any customers who may still be without power to contact them on 0800 300 999.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article