A few students, including Purdue punter Cody Webster, witnessed police capture the suspect. Kyle Siemers tweeted a photo of a man being escorted away by officers near the scene, but it is unknown if the individual in the photo is connected to the shooting.

The school was on lockdown for about an hour while authorities secured the campus. University officials lifted a campuswide alert at about 1:15 p.m. Later on Tuesday, the school announced that all classes were canceled through Wednesday.

About 40,000 students are enrolled at the school, including about 6,000 engineering students.

Purdue graduate Curt Hadley hid in a campus office after the shelter-in-place order and took the photo below. Hadley says he believes the man in the photo was an armed police officer searching for possible gunmen and victims. Hadley later tweeted that he and others were safe.