Police have nabbed the gunman.