Salem Police officers said one of the two men they arrested on weapons charges Monday night also made indirect threats of gun violence to the officers who took them into custody. 

Kelvin Mendoza and Emanuel Rodriguez Shonyo were pulled over after they were seen driving the wrong-way on a one-way street in the city, police told NECN.

Mendoza, the driver, quickly got out of the car and started shouting obscenities at the officers, while also making references to "police officers being 'shot all over the country' in a tone that we believed was intended to intimidate the scene officers,” according to the police report obtained by the news network.

Police said they saw Mendoza attempt to lean back in the vehicle to reach underneath the backseat, where officers later found a loaded .40-caliber handgun and a rifle in a bag between the two front seats, according to WCVB.

Officers also reportedly noted that Shonyo was using a police scanner app on his cellphone prior to his arrest.

The pair each face multiple charges, including carrying guns without licenses, possession of ammunition without FID cards and possession of Class C drugs, according to NECN. Mendoza was also charged with improperly operating a vehicle.

Both were held without bail and are due back in court Aug. 10.