Just over 2,000 Unitil customers woke up Sunday morning in the dark, according to the utility's outage map but power was restored just before 9 a.m.

The towns most affected included Brentwood, East Kingston, Exeter and Kingston. There was also an outage in Atkinson and Plaistow which cleared up by 8 a.m. according to the outage map.

Just before 9 a.m. most of the rest of the power was restored.

"The cause is still under investigation. The fault occurred on a sub-transmission line. What crews were able to do is switch around it to bring customers back online," Unitil spokesman Alec O'Meara told Seacoast Current.

The sub-transmission line was off-road in Exeter and crews continued patrolling the line to find the fault, according to O'Meara.

The outages were first reported around 6:30 a.m., shortly after a thunderstorm moved through the area.

The thunderstorms moved through in the 6 a.m. hour with heavy rain and winds that briefly gusted to 31 mph, according to National Weather Service Meteorologist Michael Clair.

Eversource, Liberty Utilities and NH Electric Co-op did not have any Seacoast outages.

Contact reporter Dan Alexander at Dan.Alexander@townsquaremedia.com or via Twitter @DanAlexanderNH

LOOK: Here Are 30 Foods That Are Poisonous to Dogs

To prepare yourself for a potential incident, always keep your vet's phone number handy, along with an after-hours clinic you can call in an emergency. The ASPCA Animal Poison Control Center also has a hotline you can call at (888) 426-4435 for advice.

Even with all of these resources, however, the best cure for food poisoning is preventing it in the first place. To give you an idea of what human foods can be dangerous, Stacker has put together a slideshow of 30 common foods to avoid. Take a look to see if there are any that surprise you.

More From Seacoast Current