OKLAHOMA CITY - U.S. Grant High School was on lockdown after a student brought a pellet gun to school, police said. 

Police responded Friday morning at the school located near SW 48th Street and S Pennsylvania Avenue. 

According to police, a student showed another student a gun in his waist band. The student later ran from the building and tossed the gun into a field. 

The student, a 17-year-old junior, was detained by police. The weapon was recovered. 

OKCPS officials said students and staff are all safe. They said the incident was isolated and quickly handled.

The school district released the following statement:

This morning, it was reported that a student at US Grant High School showed another student a gun then ran out of the building. District teams and law enforcement responded immediately and the school was placed on lockdown for a short time while Oklahoma City Police apprehended the student outside of the school. The gun found was a pellet gun. There were no injuries and classes have resumed as usual. We are very grateful to the student who reported the gun, and to law enforcement and our US Grant school leaders who worked quickly to address the threat. As always the safety and security of our students and staff is our top priority.

Stay with News 9 or your News 9 app for more information as it becomes available.