NEW YORK (CBSNewYork) — Manhole fires along Bergen Street snagged multiple subway lines from downtown Brooklyn to Park Slope Wednesday afternoon.

The Metropolitan Transportation Authority reported that Con Edison manholes were on fire along Bergen Street in Brooklyn around the time of the afternoon rush. The fires caused power problems affecting the signals at the busy Jay Street-MetroTech in downtown Brooklyn, the MTA said.

CHECK: Subway Service Updates

As a result of the fires, outbound F trains were terminating at Jay Street-MetroTech, while inbound F trains were terminating at Fourth Avenue-Ninth Street, the MTA said. Train service on the F between Fourth Avenue-Ninth Street and Jay Street-MetroTech was shut down altogether.

The G Train was also shut down between Church Avenue and Bedford-Nostrand avenues, the MTA said.

Some outbound F Trains were running on the C Train between Jay Street-MetroTech and Euclid Avenue, others were running on the D Line from West 4th Street in Manhattan all the way to the Coney Island-Stillwell Avenue terminal, and some were not making it to Brooklyn at all – terminating at Second Avenue in the East Village.

Also as a result of the Con Ed problems, southbound N Trains were running on the R line between Canal Street in Lower Manhattan and DeKalb Avenue in Brooklyn. Delays were also expected on the A, C, D, and R lines.

Customers headed to Brooklyn were advised to take the B, D, N or R trains, or the B37, B57 and B61 buses.

By 9 p.m., the F and G trains were back running with residual delays. The MTA said repairs were completed, and service will be back to normal for the Thursday morning commute.