A Central Maine Power Co. linesman works to restore power for residents in Brunswick, Maine on Monday, Oct. 31, 2011. Credit: Pat Wellenbach | AP

Thousands of Mainers lost power after a winter storm rolled across the state late Wednesday night into Thanksgiving morning, bringing heavy winds, rain and up to a foot of snow in some places.

But the state’s utilities restored power to many of those customers on Friday, reducing the total number of outages from about 5,000 in the morning to 1,400 by late in the afternoon. The majority of the outages were in Piscataquis, Somerset and Franklin counties.

As of 4 p.m., Central Maine Power was reporting that 1,434 customers still lacked power in its territory, including 712 in Somerset County and 516 in Piscataquis County. Emera Maine was still reporting nine outages in its territory.

The Thanksgiving storm brought rain into Greater Bangor on Wednesday evening before changing into snow overnight. It left about 2 inches of fresh snow in the Queen City, according to the weather service’s Caribou office.

The greatest snowfall was reported in some of Maine’s northern sections, with about 12 inches reported in several communities: Kingsbury Plantation in Piscataquis County, Orient in Aroostook County, and Carroll Plantation and the town of Lakeville in Penobscot County.