Spanish American wars of independence important change in strategy after three United Provinces campaigns had been defeated in Upper Peru. San Martín's army became the nucleus of the Army of the Andes, which received crucial political and material support in 1816 when Juan Martín de Pueyrredón became Supreme Director of the United Provinces. In January 1817, San Martín was finally ready to advance against the royalists in Chile. Ignoring an injunction from the congress of the Río de la Plata not to move against Chile, San Martín together with General Bernardo O'Higgins Riquelme, later Supreme Director of Chile, led the Army over the Andes in
Bernardo Vieira de Melo captain-general on November 17, 1691. On January 8, 1695, he was appointed Captain-General of Rio Grande do Norte, and on September 25, 1709 Sergeant Major of the Third of Palmares, in which position he took an active part in War of the peddlers. In November 1710, Vieira was the first to call for the creation of a Republic in Brazil, an act for which he was arrested in Recife in 1712 and shipped to Lisbon with his son, André. He died in the Limoeiro prison in 1718. Bernardo Vieira de Melo Bernardo Vieira de Melo was the first Governor of