The man was subject to an arrest warrant when police stopped him