Army of the Andes have it being as high as 6000 men. The army consisted of Argentines and Chileans, and included some 1200 auxiliaries to help in provisioning and supply, as well as a complement of artillery. The Congress of Tucumán endorsed San Martín's proposal to form an army to fight the royalists in Chile, and between August 1814 and February 1817, San Martín trained his troops to prepare them for their ordeal. While the army was made up of a less than experienced military force, San Martín intended to lead, with regular discipline and equipment, a proper army and not a "motley crew"
José Bernardo de Tagle y Portocarrero, Marquis of Torre Tagle member of the triumvirate under José de La Mar. In January 1823, the congress appointed him president, but a military mutiny deposed him and proclaimed José de la Riva Agüero president on 28 February. After the deposition of Riva Agüero and his retreat to Trujillo, Torre Tagle was appointed president by Antonio José de Sucre on 20 July, and elected by the congress on 16 August, and Bolivar, who on his arrival 1 September had been proclaimed dictator, left him in charge of the government. During his tenure, the Peruvian flag, which had been established by José de San Martín,