BANGOR, Maine — Power was restored by about 4:30 p.m. Sunday to more than 2,000 Bangor Hydro customers in Bangor and Hampden after a four-hour outage, according to information on the company’s website.

The outage was related to a lightning strike at a substation in Hampden near the water treatment plant that damaged equipment, Bob Potts, spokesman for the company, said.

A total of 2,062 customers in the Fairmount section of Bangor and along Route 202 in Hampden lost power at 12:30 p.m. Sunday.

The outages affected areas on Odlin Road, Perry Road, Union Street and residential areas on Bangor’s west side. Also affected was the area around Penobscot Meadow Drive in Hampden off Route 202.