He was Governor of Milan between 1648 and 1656. After the defeat of John of Austria the Younger in the Battle of the Dunes (1658), Caracena was appointed to succeed him. After the conclusion of the Treaty of the Pyrenees, the Habsburg Netherlands saw a period of relative peace. Despite this fact, governing wasn't easy for Caracena, since by then various wars had pushed Spain to the brink of bankruptcy.