he was the captain general of naples galleys