DETROIT (AP) — A young man who was fired from his job as a food vendor at the Detroit Tigers’ home stadium after video surfaced showing him spitting on a pizza has pleaded guilty in the case.

Court records show Jaylon Kerley entered the plea Wednesday to one felony count and one misdemeanor count of food law violations. The felony is punishable by up to four years behind bars.

READ MORE: Preorders For Ford Electric F-150 Lightning Tops 100,000

The 21-year-old’s sentencing is Nov. 15. His lawyer has said Kerley understood what he did was wrong and was remorseful.

READ MORE: State Lawmakers Look To Fight Pollution in Michigan Auto Lots and Junkyards

The video appeared on Instagram and the pizza was apparently intended for a customer. Officials determined it was recorded Sept. 21 during the Tigers game against the Kansas City Royals at Comerica Park. Kerley was fired. Tests later showed he didn’t have communicable diseases.

MORE NEWS: Michigan Lawmakers Looks To Give More Time For Drivers To Renew Expired Drivers License and Vehicle Registrations

© 2018 Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.