SANTA ANA (AP) — A Southern California airport has canceled all flights after a power outage left all its terminals in the dark.

John Wayne Airport in Orange County diverted all arriving flights and cancelled departing flights after the outage hit at around 7:30 p.m. Friday.

READ MORE: San Jose Becomes First City In Nation To Require Gun Liability Insurance

The airport’s emergency power kicked in after about a half-hour but flights still remained grounded.

READ MORE: Curry And Warriors Rout Mavericks, 130-92

The airport was affected by a Southern California Edison power outage that was centered in nearby Irvine and affected more than 28,000 customers. The outage was caused by a fire in an electrical substation.

The utility estimates power will be restored by Saturday morning.

MORE NEWS: Oakland Chinatown Cash-Only Businesses Convert To Credit To Stop Attacks On Asians

© Copyright 2019 Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed