A Rocky Point man was hospitalized with serious, but non-life-threatening, injuries when police said his 2012 Subaru  crashed into the back of a Suffolk County Department of Public Works truck before dawn on Thursday in Shoreham.

Suffolk County police said the crash occurred on the southbound William Floyd Parkway, about half a mile south of Route 25A, at 5:52 a.m.

Neither of the two county employees on the work truck crew were injured, police said.

Police said the two county employees, identified as driver Louis Gallo and co-worker Samuel Carreras, were conducting weed mitigation work in a 2015 Ford pickup truck, which was traveling at low speed, partially in the left lane, with hazard and flashing yellow lights activated, when it was struck from behind by the Subaru.

The Subaru driver, Patrick D’Amico, 28, was taken to Stony Brook University Hospital for treatment. His condition was not immediately known.

Both vehicles were impounded for safety checks and police said the crash remained under investigation by Seventh Squad detectives, though no charges have been filed.

Latest videos