HAMILTON (Mercer) — An undercover investigation involving the FBI and the Bureau of Alcohol, Tobacco, Firearms and Explosives ended with a police shooting in Mercer County, officials said.

The shooting occurred around 9 p.m. Monday in the parking lot of a Krauszer's Food Store on Greenwood Avenue in Hamilton.

Prosecutors said Jabree Johnson, 26, of Trenton, approached the agents' vehicle while wearing a a black mask.

He got into the car and pointed a handgun at an agent, demanding money, officials said. That agent then got out and opened fire at the suspect, hitting him near the shoulder. Johnson returned fire at the agent and ran down Atlantic Avenue, officials said.

The suspect ended at Capital Health Regional Medical Center, where he was in critical but stable condition from a gunshot wound.

The hospital notified police about the patient, who officials said lied to police about where he was shot. Officials said Johnson also had a large amount of cash on him.

Johnson was charged with attempted murder of a federal agent and robbery.

No other injuries were reported.

(Copyright 2021 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)

New Jersey residents charged in Jan. 6 Capitol riot (in alphabetical order)

COVID relief for NJ municipalities: How much is your town getting?

The American Rescue Plan signed by President Joseph Biden awards $10.2 billion to New Jersey. Here is a a county-by-county and town-by-town breakdown.