A 20-year-old Longview man whom police describe as a documented gang member is behind bars.

Mario Luis Perez was being held Monday in the Gregg County Jail on $30,500 in bonds and an Immigration and Naturalization Service detainer.

Longview police arrested Perez during a traffic stop at Mobberly Avenue and Melton Street at 11:27 p.m. Saturday, after an officer noticed a sedan that didn’t have a front license plate, authorities said.

The officer said he smelled the odor of marijuana coming from inside the vehicle and identified the passenger as Perez, who “was a documented gang member” of 59 Piru “and that he had been involved” in recent shootings that had been occurring in Longview, according to an affidavit released Monday.

The officer found a Glock 27 .40-caliber pistol on the seat where Perez was sitting and also a magazine matching the pistol in Perez’s pocket, police said.

Perez was booked into jail on a charge of unlawfully carrying a weapon, the INS detainer and also warrants related to May 6 charges of unlawfully carrying a weapon, possession of less than 28 grams of a controlled substance and misdemeanor possession of marijuana.

Jimmy Daniell Isaac covers the city of Longview and Gregg County. Follow him on Twitter: @jimmyisaaclives.