NEW YORK (PIX11) –– An F train struck and killed a man in Brooklyn Monday, snarling the morning commute along the F and G lines.

It happened along the southbound tracks at Fourth Avenue near Ninth Street, according to an MTA spokesman. No further details about the victim or how he ended up on the tracks were immediately available.

After some two hours of train cancellations and rerouting, both the F and G trains were back on their regular routes, MTA said in an 11:32 a.m. update. Commuters are told to expect residual delays.

Early in the investigation, police activity shut down a portion of the F and G lines. Commuters had been urged to take buses — B57, B61, B67 and B69 — to nearby stations to resume their underground trips.