 At the end of the American Revolutionary War he was sent to Algiers as ambassador, in order to negotiate peace after the Spanish bombardments of Algiers.In 1793 Mazarredo received the military Order of Santiago.During the French Revolutionary Wars Mazarredo's fleet from Cadiz joined Lángara's Squadron in the Mediterranean.