War of the Pyrenees
In 1793, during the War of the Pyrenees, "San Hermenegildo" was the flagship of the squadron under Federico Gravina in the Mediterranean operating off Catalonia. The squadron subsequently participated in the evacuation of Toulon during the last stage of the siege, alongside the British fleet under Vice-Admiral Samuel Hood.