When Ricardos died in Madrid in early 1794, and his successor, Alejandro O'Reilly, soon after, King Charles IV of Spain appointed de la Unión to command the army.
Upon Ricardo's passing in Madrid in early 1794, and the subsequent appointment of Alejandro O'Reilly as his successor, King Charles IV of Spain appointed de la Unión to command the army.