elcano had served as victorias master and , before the armada de moluccas , had been owner and captain of a ship carrying spanish soldiers to the wars in north africa , but elcano was a mutineer , having served time in chains in port st julian .