An investigation is underway involving what appears to be the accidental discharge of a firearm that injured an unidentified police officer who was parked in a lot off South Main Street in Raritan Township.

At 2:45 p.m. Thursday,  a member of the Flemington Borough Police Department sustained a non-life threatening injury after his duty weapon discharged accidentally, reported Hunterdon County Prosecutor Anthony P. Kearns, III, who is investigating the incident.

The officer was in his parked police vehicle when the gun went off.

The Flemington-Raritan Rescue Squad and paramedics from Hunterdon Medical Center treated the officer, who was transported to a hospital in stable condition.

"The officer’s name is being withheld due to the ongoing investigation,” said Kearns in a news release.