New details have been released about the events that prompted police to close Thomaston's Walmart for a night in August.

25-year-old Jeremy Hugh Rogers, who's accused of making threats against the store, told police it was supposed to be a joke. Police say, in one video, he can be seen in a black ski mask, holding an assault rifle, with a threatening caption that includes the phrase, "I'm going to (expletive) Walmart." In the second video, he can be seen holding a gun to his head. In addition there was a photo of the shooter's point of view as they carried a rifle into a Walmart, accompanied by the phrase, "Match starts in 2." Another photo of his rifle had a message that said, "Wanna see my Walmart killer?"

Maine law enforcement officials learned of the videos from New York State Police, just weeks after 22 people were killed in a shooting at a Texas Walmart. They learned that Rogers was staying with a friend in Rockport, and took him into custody. A search of the residence turned up handguns, a shotgun, and an AR-15 rifle, which the homeowner told police Rogers did not have permission to use.

WABI-TV reports Rogers is charged with being a felon illegally in possession of a firearm, after having served 13 months in prison in Connecticut on firearms charges. He's also accused of posting threats against Walmart on Facebook.