FARGO, N.D. (AP) — A Fargo pawnshop worker accused of shooting at a fleeing robber accused in a string of thefts has pleaded guilty to misdemeanor reckless endangerment.

Kyle Ramsey was working at the Mister Money pawnshop in June when the store was robbed by Hunter Havisto. Owner Daryn Kapaun has said Ramsey fired at the robber’s car to mark it for police.

Cass County prosecutor Birch Burdick says the agreement calls Ramsey to serve 360 days on probation and pay $325 in court fees. If Ramsey completes probation the case will be dismissed and sealed.

Investigators say the 21-year-old Havisto, got away with about $2,700 at Mister Money and a total of $4,600 from five Fargo establishments he’s accused of robbing.