Portuguese Restoration War
He participated in the disastrous campaign in the Portuguese Restoration War under John of Austria (1663–1664). He also led the Spanish troops against the French in the north of France, where he was defeated in 1667 by François de Créquy.