The Bolivian State was one of the three states that made up the Peru-Bolivian Confederation. On 28 October 1836, Andrés de Santa Cruz was elected Supreme Protector of the Peru-Bolivian Confederation by the Tapacarí, Huaura and Sicuani Congresses while simultaneously being the President of the Bolivian State. While Santa Cruz was the only official President of the Bolivian State, his vice president, Mariano Enrique Calvo, would be acting president in replacement of Santa Cruz when he was in Peruvian territory. As president, Santa Cruz was more concerned with military than administrative matters, as the country found itself in the War of the Confederation against Chile, and the war against the Argentine Confederation.