 In 1774 he was transferred to the frigate "Rosalía" and took part in a hydrographic campaign in South America.In 1775 he took part of the Spanish attack on Algiers.The decisions on navigation, anchorage and disembarkation of the twenty thousand men of the Spanish army were made by him.