 He saved a fleet coming back from Naples, cleverly avoiding an ambush by Admiral Tourville near Mahon.During the War of Spanish Succession (1701–1714), he wasn't involved in warfare, but in ship building.He founded the shipyard of El Astillero.