In Oklahoma City federal court Friday, Charles Lamar Scott, 35, pleaded guilty to interference with commerce by robbery, using, carrying, and discharging a firearm during and in relation to a crime of violence, and unlawful possession of a machine gun.
Authorities said Scott tried to rob the CVS Pharmacy at 2412 N Classen Blvd.
Shots were fired inside the store, including at least one from a firearm modified to operate as a machine gun, authorities said.
During the robbery attempt, a store clerk was struck and suffered minor injuries, police said.
A police pursuit started north of NW 23 before quickly turning south on Classen Boulevard and ending near NW 14.
No officers were injured, according to authorities.
At sentencing, Scott faces up to life in prison and a fine of up to $750,000.