Police have a student in custody they say flashed a gun in a Philadelphia community college.

Police say 23-year-old Ryan Fitch was taken into custody without incident Wednesday afternoon at his apartment building in northeast Philadelphia.

Police say they were told a student showed off a handgun after an argument with another student over a female at Community College of Philadelphia at 1700 Spring Garden Street around noon Wednesday.

No one was injured.

Fitch was charged with weapon in school, terroristic threats, simple assault and recklessly endangering another person.