Two vehicles were struck by Long Island Rail Road trains in separate accidents less than an hour apart Wednesday night in Suffolk County, authorities said — one, resulting in a female driver being arrested and charged with drunken driving.

The first accident occurred in Hampton Bays at about 9 p.m., railroad spokesman Salvatore Arena said.

The second, in which the driver was arrested, occurred in East Farmingdale at 9:41 p.m. and involved a train carrying 300 passengers, Arena said. No one was injured in either accident.

Suffolk County police said that MTA Police handled the arrest. The MTA was not immediately able to identify the driver.

The first accident involved an eastbound nonpassenger equipment diesel locomotive train at the Ponquogue Avenue crossing, which is the first grade-level crossing east of Hampton Bays, Arena said. A photo from that scene showed a mangled sport utility vehicle, the rear of the vehicle destroyed by the impact.

A vehicle was hit by a Long Island Rail Road train Wednesday, July 20, 2016, on Long Island Avenue and Little East Neck Road in East Farmingdale. Photo Credit: Jim Staubitser

Arena said the male driver, whose identity was not released, was issued two traffic citations after the accident. No passenger trains were delayed as a result.

advertisement | advertise on newsday

The second crash occurred at the Little East Neck Road crossing in East Farmingdale, Arena said. He said that the female driver told police she was using GPS — and accidentally ended up on the tracks.

She apparently called 911 to report the accident and, Arena said, Suffolk police arrived and attempted to move the car, but the train arrived before the car could be moved — and before the railroad could be notified of the stranded vehicle.

That train, the 9:11 p.m. train from Ronkonkoma to Penn Station, carried 300 passengers and was delayed about an hour.

Arena said one other train was delayed as a result.