The Long Island Rail Road’s Babylon and Montauk branches have returned to schedule after a signal problem led to delays and cancellations Thursday morning.

Trains were previously operating with 15- to 25-minute delays while officials investigated. The railroad said they were mostly back on schedule just after 9 a.m.

The 7:37 a.m. train from Babylon and the 7:43 a.m. train from Merrick into Penn Station were both canceled.

The issue seemed to be weather-related, said Salvatore Arena, a spokesman for the rail service.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Final journey home ... Knicks stunning comeback vs. Cavs ... Jones Beach concert preview ... Heat, then storms, forecast for today ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Final journey home ... Knicks stunning comeback vs. Cavs ... Jones Beach concert preview ... Heat, then storms, forecast for today ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME