Lil Zay Osama is behind bars.

According to legal documents obtained by Complex, the 25-year-old rapper was arrested this week after he allegedly left a machine gun in an Uber car. Prosecutors say Osama and his associates took the ride Thursday in NYC, going from a hotel in Manhattan to a recording studio in Queens. The rideshare driver reportedly observed Osama holding a firearm throughout the trip, and noticed the weapon was still in the car after the passengers exited.

The gun was immediately reported to authorities, and identified as a loaded Glock 22.40 caliber pistol equipped with a “switch” device. The NYPD field-tested the weapon alongside the Joint Firearms Task Force of the Bureau of Alcohol, Tobacco, Firearms and Explosives. The teams concluded the gun could “automatically fire more than one round with a single function of the trigger and, therefore, was a machine gun.”

Prosecutors pointed out that Osama had mentioned a Glock and “switch” device in his 2021 track “Danny Block”:

I hope this song right here don’t get in the hands of the feds
Ayy, I just got a brand new Glock
With a fifty and a switch (With a fifty and a switch)
I just popped one of my opps
I’m finna go do another hit

Osama was arrested Friday and charged with possession of a machine gun and being a felon in possession of a firearm. Prosecutors say Osama was previously convicted of weapons possession in Illinois, and has two outstanding warrants for his arrest. He is now being held without bail and faces up to two decades in prison.