The bank robber known as the “Boastful Bandit” was sentenced to 22 years in prison Wednesday.

Craig Ozarowski, 56, of Belmar, N.J., robbed a bank in St. Augustine, Fla., on Feb. 8, then held up a SunTrust Bank on Johnnie Dodds Boulevard in Mount Pleasant on Feb. 13, according to evidence presented in federal court in Charleston.

Mount Pleasant police said he pulled out a gun and ran off with about $1,600 in cash. He was arrested at a nearby Holiday Inn Express with an air-soft pistol in the room, according to police.

Ozarowski got his nickname after boasting that he had pulled off 30 different robberies in the Northeast. He also often called police to boast of his exploits, comparing himself to the infamous bank robber Clyde Barrow of Bonnie and Clyde notoriety.

Ozarowski had just been released from prison before the holdups in Florida and Mount Pleasant. He got out in December 2012 after being locked up in federal and state prisons since 1984, according to the U.S attorney’s office, which prosecuted him. Ozarowski’s criminal record includes multiple convictions for robberies, malicious damage to property while in federal prison and assaulting a prison official.

Chief U.S. District Judge Richard M. Gergel sentenced Ozarowski to 22 years imprisonment, to be followed by three years of federal supervised release. The sentence included two consecutive years for violating the terms of his previously imposed federal supervised release.