Authorities say power has been restored to all areas of Manhattan affected by a widespread power outage that left businesses without electricity and subway stations without power Saturday evening.

Elected officials say Con Edison restored power to all impacted customers shortly before midnight Saturday. 

Power went out just after 6:45 p.m. Saturday in the Hell’s Kitchen, Upper West Side and Midtown West areas of Manhattan, according to officials.

Officials say the affected area stretched from West 30th Street to West 72nd Street, between 12th and Fifth avenues.

In a phone call to NY1, Governor Andrew Cuomo said preliminary info indicates there was a fire at a substation that triggered three other substations "to either go offline or to have a difficulty."

The MTA says power went out at four subway stations: 59th Street-Columbus Circle, 47th-50th Streets/Rockefeller Center, 5th Avenue-53rd Street and 34th Street-Hudson Yards. 

As of 1 a.m., the MTA says service has been restored on all affected lines (which included the 1, 2, 3, A, C, D, E, F, M and 7 lines), though 2 and 3 trains were running local from 96th Street to Chambers Street (and C train service had ended for the evening).

The power outages also impacted Saturday night's Broadway shows. Per City Council Speaker Corey Johnson, all but three theaters closed due to the outages.

Madison Square Garden also confirmed that a Jennifer Lopez concert in the arena was forced to end early due to power issues, something that was widely reported on social media.

Lopez herself took to social media to address the situation.

The outage came 42 years to the day of a 1977 New York City outage that left most of the city without power.