The Brooklyn federal judge who put “El Chapo” behind bars for life gave a lighter sentence to the leader of a violent Brooklyn crime syndicate Tuesday — saying he’s been “jaded” by worse mobsters.

Leonid “Lenny” Gershman — who made headlines due to his expensive tastes, including Kanye West-branded footwear and fancy cars — was sentenced to 16 and a half years in prison, which was more than 10 years shorter than the stint that prosecutors had sought.

Gershman, 36, was convicted last year on charges including racketeering, extortion, illegal gambling and loan sharking.

He was also found guilty of giving the go-ahead to members of his Eastern European crime syndicate to torch a three-story apartment building in Sheepshead Bay that housed a rival illegal gambling operation — nearly killing a 19-year-old college student and 12-year-old boy who got trapped in the blaze.

Brooklyn federal Judge Brian Cogan — who recently sentenced notorious drug lord Joaquin “El Chapo” Guzman to life in prison plus 30 years — explained that he has been “jaded” by some of the mobsters he has sentenced in the past and that Gershman’s crimes look tame by comparison.

Cogan cited the case of longtime Colombo family member John “Sonny” Franzese, who was caught on tape discussing numerous murders and who was sentenced to eight years in prison in 2011, when he was 93 years old.

“His crimes were worse than Mr. Gershman’s and he’d been doing them for decades,” Cogan said.

Prosecutors argued that Gershman should do between 28 and 35 years behind bars, describing him as the flamboyant and violent head of the group, which has ties to the Eastern European based “Thieves-In-Law” gang.

Gershman sported a $1,500 belt buckle, $1,000 Yeezy brand sneakers and drove a BMW — all while he was on Medicaid, said Assistant US Attorney Andrey Spektor.

And Gershman often personally handled the group’s violent acts, Spektor argued.

In 2012, he brutally pistol whipped a man he suspected of stealing marijuana and money from the group — in full public view on Brooklyn’s heavily-trafficked Ocean Parkway, the prosecutor said.

“He wasn’t just a follower,” Spektor said. “He wasn’t just a dupe who just slaps and kicks people around, as his attorney said. He was a violent and devoted gangster.”

Throughout the sentencing, Gershman looked to family members and supporters in the gallery, smiling and blowing kisses. Following the sentencing, he flashed a wide grin as he left the courtroom.

But Cogan indicated that he saw potential in the convicted mobster to do better, and praised Gershman for his intelligence.

“I don’t want to ruin his life if there’s any reasonable chance that he can be productive,” Cogan said.

Jonathan Savella, Gershman’s attorney, said that Gershman plans to appeal the sentence.

Gershman’s family and supporters declined to comment after the sentencing.

“Yeah, get lost,” one man barked at a Post reporter.