BUFFALO, N.Y. (AP) — Officials say a squirrel is to blame for power outages that affected thousands of people in upstate New York.

New York State Electric and Gas says the squirrel got into its substation in the Buffalo suburb of Lancaster Sunday and knocked out three substations, leaving 12,000 customers without power.

NYSEG says people in Alden, Marilla, Cheektowaga and Clarence were affected.

Officials say two substations were restored by 2:45 p.m. Sunday. The third was restored at 3 p.m.

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)