A Richmond Chevy's had to close for hours Wednesday following a shooting that happened in a nearby parking lot.
NBC Bay Area has learned that a federal ATF agent working undercover felt threatened enough to open fire on one of three men he was following.
This happened just after 3 p.m. on Garrity Way in Richmond.
Police said the suspect who was shot is in critical condition, but is expected to survive.
One of the other suspects was arrested immediately, and a third suspect who initially ran away was caught and arrested about 30 minutes later in a field close by., police said.
There was what appeared to be an automatic handgun visible on the scene.
The Contra Costa Times reports the men were attempting to sell a grenade launcher. The paper said the agents were staging an arms purchase in tandem with Richmond police and the Contra Costa District Attorney's Office.
The deal was supposed to go down in the parking lot outside Chevy's when things went bad.
The Chevy's is closed for at least a couple hours, according to managers there. So is the parking lot.
Police were not talking about what kind of uncover operation lead to the shooting.