A Florida man was arrested on Monday after police said he attempted to steal a television from Walmart while officers were there for a "shop-with-a-cop" event.

James Walsh, 50, was walking around a Port St. Lucie-area Walmart on Monday with a 58-inch television in his cart and his phone to his ear, WPEC reports. Surveillance footage showed him walking around the store and attempting to leave without paying before an asset protection officerstopped him.

Police said Walsh ran back into the store and then left through another exit. He was caught by officers who were there for a "shop-with-a-cop" event. He admitted to officers that he had stolen a television from the same store the day before.

Walsh was arrested and charged with grand theft, resisting merchant and resisting an officer without violence.

Read more at WPEC.