A man has pleaded no contest to robbing a Leavenworth convenience store and attempting to rob the same store a day later, according to a prosecution official.

A man has pleaded no contest to robbing a Leavenworth convenience store and attempting to rob the same store a day later, according to a prosecution official.

Derek Williams, 27, Atchison, entered the plea Friday in Leavenworth County District Court for one count of aggravated robbery and one count of attempted aggravated robbery.

Williams reportedly robbed a store at 300 N. Fourth St. on Dec. 13 by pointing what appeared to a handgun at an employee and demanding money, according to County Attorney Todd Thompson.

Williams returned to the store the next morning. He attempted to get into the store, but an employee had locked the door.

Armed with a gun, Williams reportedly demanded that the employee open the door. The employee called the police, and Williams fled the scene.

Security camera video of both incidents were provided to police, according to Thompson.

Leavenworth police stopped Williams Dec. 15. He was driving a vehicle that matched the description of one used by the robber. He also was wearing clothing that matched a description of what the robber had worn during the first incident.

Inside the vehicle, police found a hooded sweatshirt and a mask that also matched items that reportedly had been worn by the robber. Officers also found a revolver.

Sentencing for Williams is scheduled for Sept. 28.