A string of shootings in Memphis and a feverish police manhunt for a 19-year-old suspect that effectively closed down Tennessee’s second largest city for five hours ended Wednesday night when the police announced that they had captured the man.

The manhunt, which began after the first shooting at about 4:30 p.m., prompted authorities to encourage residents to stay inside. "If you do not need to be out, please stay home!” the city of Memphis said on Twitter during the manhunt.

In light of the apparent threat posed by a man who seemed to be driving around the city randomly shooting people, the Memphis Area Transit Authority suspended its trolley and bus service. The University of Memphis, already shaken by the recent abduction and killing of a woman jogging near the campus, went on lockdown.