Thousands of San Francisco residents were briefly left in the dark after the power went out in a series of outages across The City early Wednesday.

A PG&E representative confirmed a “large outage” in San Francisco to SFBay around 12:45 a.m. but made no further details available. A message left for a spokesperson was not returned.

@SF311 – The City’s official Twitter account for citizen complaints — tweeted nearly 38,000 people were left without electricity in 31 separate outages that hit around midnight.

@abc7newsBayArea Update 31 outage affecting 37993 customer(s)Est. Time of Restoration: Not AvailableLast Updated: 08/07/2013 12:14:49 AM ^JS — SF311 (@SF311) August 7, 2013

It is not known what caused the outages.

@SF311 tweeted shortly after 1 a.m. that service had been restored to most of the affected customers: