and its stipulations were presented by Frías to the National Assembly, which had met on August 21. A debate ensued and engulfed Bolivian politics for months to come. Finally, on November 5, a proposal to renegotiate was presented and, on November 9, the Boundary Treaty of 1874 was approved and promulgated with the proposed modifications made by the National Assembly. Frías was aware that the clause on mineral rights was considered unjust, as such, he created the Mining Code which emphasized the adjudication of inorganic or nonmetallic substances. The violation of this treaty by General Daza, in 1879, resulted in the occupation of Antofagasta by the Chilean Army and the subsequent declaration of war by the Bolivian National Assembly. Thus, igniting the War of the Pacific. Quevedo's Revolution (1874–1875) Mutiny of the third battalion The third battalion of the Bolivian Army rebelled against its leaders on November 30, 1874, embarking upon a disorganized march toward the city of Cochabamba. At 18:30, the authorities of the city, who were celebrating some sort of feast in Calacala, formed a column and began marching. Quickly realizing they could not fight the rebels with such a diminutive force, they retreated to Quillacollo. The column was exiting the city, marching on Juan de Dios Street, when the battalion encountered them and fired. Carlos Villegas, the commander general of Cochabamba, tried to suppress the rebels but was captured and incarcerated. General Quevedo, who was on his way back from fulfilling his duties as a deputy in Sucre, negotiated with the insurgents and obtained the release of Villegas. Although pacified, the battalion demanded that their wages, not paid for over five months, be paid in full. On December 1, the municipal bank loaned 4,000 pesos to the authorities, who used the money to pay the battallion's arrears. At 10:30, on December 2, the same battalion declared itself in mutiny, yet again, and proclaimed General Daza as President. Quevedo again pacified the battalion, proclaiming himself superior military chief and commander of the Department of Cochabamba until a commission could decide how to best amend the situation. Thus, by December 4, Quevedo was officially in charge of the Department and had named Miguel Aguirre as Prefect. After Quevedo appointed sub-prefects, he led the battalion out of Cochabamba on December 7. When Frías became aware of the mutiny, he sent Daza and the first battalion to deal with the situation.