Police officers responded to a report of shots fired around 11 p.m. in the 2200 block of North Lamon Avenue when they saw a male matching the suspect's description and began pursuing him on foot, police said.
A police officer fired a single shot but did not hit the gunman, police said. The gunman also fired but no one was hit.
The teen was taken into custody and police recovered a handgun from him and found another gun in the area, officials said.
He was charged with aggravated assault of a peace officer and aggravated unlawful use of a weapon without a FOID card.
The teen was due in juvenile court Friday.
The Civilian Office of Police Accountability was investigating the shooting.
The Sun-Times Media Wire contributed to this report.