 In the War of the Pyrenees against the French, Juan Mackenna fought in Rosselló under General Ricardos and there met the future liberator of Argentina, José de San Martín.For his exploits in defence of the Plaza de Rozas, he was promoted to captain in 1795.For the purpose of a new assignment, in October 1796, Juan Mackenna left Spain for South America.