Here’s one for the selfie Hall of Fame.

A Brooklyn native posted a photo of himself on his Facebook page brandishing a submachine gun he allegedly used in a Michigan bank robbery — and he was busted by the FBI.

In one hand, Jules Bahler is holding a menacing-looking, long-barreled assault-style weapon. In the other hand, he is holding a black smartphone, which he uses to take a picture of himself in a bathroom mirror.

Bahler, 21, who calls himself “King Romeo” on his Facebook page, posted the photo March 5 with an accompanying caption.

“Bought my first house And chopper today … lifes great,” he wrote.

That same day, according to an FBI affidavit, Bahler entered a Chemical Bank branch in Bay City, Mich., brandished a submachine gun and fled with about $7,000.

Authorities said Bahler committed two similar crimes in Pontiac, robbing a credit union of $4,300 on Feb. 26 and a Bank of America branch of $4,000 on March 4.

A day after the Bay City robbery, investigators learned about the Facebook page, and believed Bahler’s face matched that of the robber captured by bank surveillance cameras.

The page also features a photo of a home in Pontiac, which the FBI and local sheriff’s deputies began staking out March 7.

After Bahler emerged and drove off, the investigators stopped him, and found the machine gun in a duffle bag in the car.

Officials said he confessed to the robberies.

Before his arrest, a friend tried to warn him about the selfie.

“U tripping brotha,” a friend wrote on Bahler’s Facebook page. “I wouldn’t show that sh– off like that cops be watching this sh– brotha.”