Career
He was named viceroy in 1638 by Philip IV, after the resignation of Enrique de Aragón Folc de Cardona y Córdoba. During the years 1639 and 1640 he participated in the campaigns of Roussillon against the French as the adjutant of Filippo Espínola, generalissimo of the armies of the Spanish monarchy on the frontier with France, in the framework of the Thirty Years War. His greatest victory was the Siege of Salses.