Power returned to storm-affected homes in Scotland
Hundreds of homes were without power for almost 24 hours following lightning strikes on Saturday.
Energy firm SSE said it had now reconnected power to all of the homes - 200 in Aberdeen and 175 in Dundee.
Two homes in Collieston, Aberdeenshire, were also struck during the storm, causing small fires.
In Gatehouse of Fleet, Dumfries and Galloway, firefighters were called out after lightning hit an overhead line feeding an electricity substation.
Scottish Power said the strike led to a short term loss of power to some nearby homes.
Six homes in the Newton Stewart and Gatehouse of Fleet areas were also struck by lightning.
Ian Anderson, Scottish Fire and Rescue Service's Dumfries and Galloway station manager, told the BBC Scotland news website: "There was a 90 minute period from about 15:30 where we were called out to five or six houses hit by lightning.
"Their houses smelled of burning and their sockets were black.
"If a property sustains a lightning strike and it's bad enough to burn sockets then we would ask people to call the fire service.
"If your house is hit by lightning you will hear a crack and some of the items in your house might fail."
Dramatic images of the storm in the west and north-east of Scotland have been sent to the BBC Scotland website.
BBC Weather Watchers also reported large hailstones during a thunder storm in Aberdeenshire.
And in Edinburgh drivers said the torrential rain lead to sudden flooding and spray, causing difficult driving conditions on the city bypass.
Lightning had been forecast in western and central areas on Saturday afternoon, with experts predicting it would move east in the evening.
The Met Office issued two weather warnings - one for lightning and another for thunder.
It came a day after a temperature of 30C (86F) was recorded in the Highlands on Friday.
But in southern England temperatures soared to 33.6C (92F) on Saturday, making it the hottest day of the year so far.