NORFOLK, Va. (WAVY) – A man who robbed a bank and tried to rob a credit union in two different cities will spend the next two decades behind bars.

Phillip Bosket, 47, of New York was sentenced to 262 months, or more than 21 years, in prison on charges of bank robbery and brandishing a firearm in furtherance of a crime of violence, according to the U.S. Attorney’s Office.

Bosket first went to the Langley Federal Credit Union on Granby Street in Norfolk with a knit hat covering his face. When he spotted a security guard, he took off, discarding a gun and the hat which his DNA was found.

Just a few weeks later, he robbed a Wells Fargo on High Street in Portsmouth, again with a knit hat covering his face. He got about $4,000 in the robbery, but threw the bag of money, his gun and the hat during a high-speed chase with police shortly after the robbery.

He was apprehended when his van crashed into a building in Virginia Beach.