A New York man who confessed to robbing three banks in Michigan this year got away with thousands of dollars — that is, until he posted a photo of himself holding a submachine gun on Facebook.

Jules Bahler was arrested Friday following his Facebook post Thursday on an account where he identifies himself as “King Romeo” and wrote “bought my first house And chopper today..lifes great” (sic).

Jules X, who goes on King Romeo, on Facebook was arrested on criminal charges late last week for allegedly robbing three banks. (Image source: Facebook)

Jules Bahler, who goes on King Romeo, on Facebook was arrested on criminal charges late last week for robbing three banks. (Image source: Facebook)

Matching the 21-year-old’s face with one in surveillance videos, police accused him of robbing two banks in Pontiac, Mich., on Feb. 29 and March 4 respectively, and then another in Bay City, Mich., on March 5. These robberies, according to MLive, totaled about $15,300.

“Through outstanding teamwork and partnership, all the law enforcement agencies involved came together to take a dangerous individual off the street,” Oakland County Sheriff Bouchard said. “I am extremely proud of all the detectives involved.”

The suspect as seen on a surveillance camera while robbing a Bank of America in Pontiac, Mich., last week. (Image source: Oakland County Sheriff)

The suspect as seen on a surveillance camera while robbing a Bank of America in Pontiac, Mich., last week. (Image source: Oakland County Sheriff)

According to MLive, officers staked out Bahler’s home Friday and arrested him during a traffic stop after he left. They found the submachine gun in his car. MLive reported he confessed, giving authorities permission to search his home where they found close he wore during the robberies.

Watch this report about the arrest from WXYZ-TV: