A woman crossing the Long Island Rail Road tracks against the gates at Main Street in Farmingdale was struck and injured by a train Wednesday, railroad officials said.

Fortunately, the train had been stopped at the station moments before and was moving slowly - and, officials said, the woman suffered "non-life-threatening" injuries.

Railroad officials said the incident occurred at 7:22 a.m.

Officials said emergency medical personnel treated the woman, who was identified only as being 47 years old, and transported her to Nassau University Medical Center.

Her condition was not immediately known.

The accident location is just west of the station platform, officials said. The railroad said a preliminary investigation by Metropolitan Transportation Authority police determined that the gates were functioning properly at the time of the accident - and that the gates were in the down position. It is believed the woman may have walked around the gates, though that scenario was under investigation.

The woman was struck by the 6:54 a.m. train from Central Islip that was due at Penn Station at 8:06 a.m., officials said. The train was delayed 79 minutes.

The accident caused up to 40 -minute delays on the Ronkonkoma Branch east of Farmingdale, railroad officials said.

One additional train was canceled. Five trains operated late, railroad spokesman Sam Zambuto said Wednesday.

Last week, a man was struck and killed by a train at the Wyandanch station in what appeared to be an accident, officials said.

The train Friday from Penn Station to Ronkonkoma struck the unidentified man at Straight Path Road in Wyandanch. Witnesses told MTA police the crossing gates were functioning properly, the MTA said.

With Bill Mason

LI Sound water quality ... LI colleges that are tops in nation... What's next for Giants after Jaxson Dart injury Credit: Newsday

Questions over waterfront preservation program ... LI Sound water quality ... Man sentenced in deadly yacht club stabbing ... LI Works: Lighting up Long Island

LI Sound water quality ... LI colleges that are tops in nation... What's next for Giants after Jaxson Dart injury Credit: Newsday

Questions over waterfront preservation program ... LI Sound water quality ... Man sentenced in deadly yacht club stabbing ... LI Works: Lighting up Long Island

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME