Police in Delaware say they have arrested a suspect in a bank robbery after he locked himself out of his getaway car.

State Police said in a news release that 21-year-old Joseph Rosado of Wilmington entered an Artisan Bank in Wilmington brandishing a handgun on Monday afternoon. Rosado demanded cash from two tellers, who gave him an undisclosed amount.

Troopers say Rosado left the bank and ran to a car, but had locked himself out. He ran away but was quickly caught by a New Castle County Police officer.

Media outlets report Rosado, who police have linked to other armed bank robberies, is charged with six counts of 1st degree robbery among other charges. He's being held on $501,100 bail. It was not immediately known if he had an attorney.