RARITAN TWP. — The Flemington police officer whose firearm discharged accidentally has been released from the hospital.

That’s the report this afternoon from county Prosecutor Anthony P. Kearns III. While in his patrol car, the firearm discharged and the officer was shot in the leg, Kearns said.

"He's home now, in good condition. Whenever an officer is involved in a shooting, there are all kinds of protocols that come into place" as part of the probe, the prosecutor said.

While the investigation continues — delayed by the Good Friday holiday — Kearns is not releasing the officer's name. The shooting took place in the parking lot in front of the Cook-to-Order eatery and take-out business in a small strip mall at 299 South Main St. in Raritan Township, around 2:25 p.m. Thursday.

Another Flemington policeman was with the officer when the shooting took place and the other officer radioed for medical assistance. They were at Cook-to-Order for lunch.

The Flemington-Raritan Rescue Squad and paramedics from Hunterdon Medical Center responded to treat the victim. While a medical helicopter was dispatched, the first-responders determined that the injuries were not as severe as originally thought and the helicopter was canceled before it landed, Kearns said.

Instead, the officer was transported by ambulance to Morristown Medical Center, which has a trauma unit, he said.

“Following our standard procedure and protocol, this is an ongoing investigation and until we get to a certain point in that process, we will not release his name,” the prosecutor said. And he said he did not have the make and model of the gun used, but that also will eventually be made public.

More Hunterdon County news: NJ.com/hunterdon • Facebook • Twitter