Households in Aberdeenshire were left without power overnight due to a number of faults across the network.
Engineers from SSEN worked through the night to restore power in the area.
More than 1,000 households in Cruden Bay and Longhaven experienced a blackout at around 8.20pm on Monday evening.
Engineers were aiming to restore power by 11.30pm, with 953 customers reconnected shortly before 10.45pm.
However, work to rectify the fault and restore supply to the remaining households continued until this morning.
SSEN apologises for loss of power
At the peak of the outage, SSEN confirmed around 70 Aberdeenshire postcodes and 1,043 customers in the area were being impacted by the outage.
The reason for the fault is not known.
In a statement, a spokesman for SSEN distribution apologised for the disruption.
He said: “Around 8.15pm last night, a fault occurred on our network in the Cruden Bay and Longhaven areas, which interrupted supplies to 1,043 customers.
“Our engineers were dispatched to the site, and 953 of our customers had their power restored shortly before 10.45pm. Engineers continued to work throughout the night to restore supplies, and all of the remaining customers had their power back on by 6.30am this morning.
“We would like to apologise to our customers who were affected by this power cut and thank them for their patience as our engineers worked to repair the fault.”
It is understood the water supply was also affected.
Boddam households left in the dark
Properties in the nearby coastal village of Boddam were also hit by a power cut overnight.
The outage was first reported to SSEN at around 10.44pm.
The outage impacted two postcodes in the area, with around three customers reporting a fault.