A 15-year-old boy who brandished a gun and rifle at an airport in Texarkana, Arkansas, on Tuesday morning and demanded a plane was arrested after a pilot retrieved a firearm from his truck and ordered him to the ground, according to local police.

The teen complied and was disarmed by the pilot during a confrontation at Texarkana Regional Airport, authorities said. Officers from the Texarkana Police Department arrived soon afterward and arrested the youth.

“The Texarkana Arkansas Police Department applauds the heroic act by the local pilot,” the agency said in a news release, without naming the pilot. “The fact that this incident was resolved quickly and peacefully, despite the extreme danger presented, is highly commendable.”

The minor was carrying a handgun and an AR-style rifle, according to the airport, and was charged with aggravated assault, attempted aggravated robbery and terroristic threatening in the first degree. He was transferred to a juvenile detention center, according to police.

— The New York Times