This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

HOUSTON, Tx. — Houston police say a man will spend several years in prison after an unusual robbery attempt was caught on video.

The newly released video is from a crime that happened April 17, 2017, according to the Houston Police Department.

Police say John Bell entered the Latino Cellular at 6710 Hillcroft Avenue in southwest Houston where he walked around a counter and told an employee to open the register.

The employee refused to cooperate and walked out of the store along with customers. The employee then locked the door, keeping the suspect inside until police arrived.

Surveillance video shows the suspect shooting at the door’s lock in an attempt to escape. He then dropped to his knees and can be heard praying before apologizing.

Police soon took the man into custody without further incident. He pleaded guilty and was sentenced to five years in prison. Records show the man was already on deferred adjudication for twelve years from another aggravated robbery in 2015.

The story was originally posted on Khou.com.