Flights leaving and arriving Tuesday night at Baton Rouge Metro Airport were delayed after a fire in an electrical junction box knocked out power to the commercial runway lights, airport spokesman Bill Profita said.

The general aviation runway lights were not affected, he said.

The airport’s Fire Department extinguished the blaze shortly after it erupted at 7:40 p.m., Profita said, and crews had restored power by 10 p.m.

A departing American Airlines flight was temporarily held at the gate, he said. Four arriving flights were also delayed at their hubs while power was restored.

“You can’t have aircraft (arriving or departing) at night without runway lights,” Profita said.