Long Island Rail Road crews have resolved switch trouble near Farmingdale that had caused Ronkonkoma Branch trains to hold at their stations east of Farmingdale, the railroad said.

"The switch trouble near Farmingdale has been fixed and regular service has been restored on the Ronkonkoma Branch with anticipated delays of between 30 and 45 minutes," the LIRR tweeted at 7:55 a.m. "We apologize for the inconvenience."

The line was on or close to schedule after 10 a.m.

There were originally delays of 15 to 20 minutes on the branch as a result of the switch trouble, officials said in service advisories.

The first notice of the trouble was about 7:15 a.m., and more than five trains were delayed, with one canceled. 

On the Long Beach Branch, switch trouble at the Long Beach station also caused delays from about 7:30 a.m. to 8:10 a.m., the railroad said.

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

Wild weather on LI ... Deported LI bagel store manager speaks out ... Top holiday movies to see ... Visiting one of LI's best pizzerias ... Get the latest news and more great videos at NewsdayTV

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

Wild weather on LI ... Deported LI bagel store manager speaks out ... Top holiday movies to see ... Visiting one of LI's best pizzerias ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME