An Indiana man was charged with trying to board a plane with a loaded gun Monday at Midway International Airport.

John Waltz, 52, was charged with a felony count of boarding an aircraft with a weapon, according to Chicago Police.

Waltz, who lives in La Porte, Indiana, was being screened at a security checkpoint for a Las Vegas-bound flight when TSA agents found the .38-caliber Ruger handgun in his carry-on bag, police and the TSA said. The gun was loaded with a round in the chamber.

TSA agents then notified police, who arrested Waltz and took possession of the gun, authorities said.

Waltz was released on a $10,000 I-bond and was due back in court March 26, according to Cook County court records.