Belgrano had been sent by the Second Triumvirate (of insurgents in Buenos Aires) to attack the city, at the northern extremity of the old Viceroyalty of Rio de la Plata.
The defeat of the Royalists at Salta gave the insurgents domination over the northern part of the old viceroyalty and also led to revolts against the Spanish in Charcas, Potosí and, later, Cochabamba, Upper Peru (now Bolivia).
The December 1824 defeat of Viceroy José de la Serna in the Battle of Ayacucho effectively ended Spanish power in Peru.
He later lived in the Tristán del Pozo House, formerly owned by some relatives, and is described, by his niece, Flora Tristan, in her travel book Pérégrinations d'une paria (Peregrinations of a Pariah, 1838).
[3][4] Flora Tristan was a feminist and socialist writer, and, incidentally, the maternal grandmother of French painter Paul Gauguin.