Guerra de los Nueve Años
He achieved his greatest successes during the Nine Years' War (1688–1697).