HAGERSTOWN, Md. (AP) — Utility companies say they’ve restored electricity to nearly all of the more than 7,000 customers in central and western Maryland affected by a winter storm.

Baltimore Gas and Electric Co. said Thursday it had about 400 outages remaining. About half of them were in Anne Arundel County.

READ MORE: NFL Week 13 AFC East Preview: CBS Boston's Levan Reid Calls AFC East Title Fight A Battle Of 'Big Brother Vs Little Brother'

Potomac Edison had nearly 500 customers without power in western Maryland, mostly in Garrett County.

READ MORE: SportsLine Week 13 AFC West Picks: 'Denver Designed Well To Stop What Kansas City Does,' Says Larry Hartstein

The National Weather Service has a wind advisory in effect for most of Maryland until 6 p.m. It predicts northwest winds of 25 to 35 mph, with gusts up to 50 mph.

MORE NEWS: Hallmark Channel Embraces John Harbaugh, Self-Described 'Hallmark Movie Guy'

(Copyright 2012 by The Associated Press. All Rights Reserved.)