Former California State Senator and gun control advocate Leland Yee (D), who tried to pass a bill banning the sale of violent games to children, has been sentenced to five years in prison for racketeering, weapons smuggling and other charges.

According to a report from San Jose Mercury News’ Howard Mintz, Yee faced up to 20 years for his crimes, a fine of $250,000 plus restitution, but a plea deal reduced the sentence.

Prosecutors in the case against Yee, 67, stated he demonstrated “a venal attitude toward his position as an elected public official,” and had no qualms abusing his position to the detriment of his constituents.

Polygon has the full report which includes court documents and statements from Yee’s lawyer.

Yee was arrested in March 2014, during an FBI sweep along with 25 other defendants, including Yees consultant Keith Jackson who was arrested for “soliciting donations from FBI undercover agents, in exchange for multiple official acts.”

Other defendants include dRaymond “Shrimp Boy” Chow, the current Dragonhead, or leader, of the San Francisco-based Chee Kung Tong organization.

As previously reported, Yee was arrested in 2000 on suspicion of shoplifting suntan oil, and in 1999 he was pulled over twice by police who suspected he was looking to score a prostitute. He was never charged with soliciting sex workers.