At a convention in Tejeros, Cavite, the revolutionaries assembled to form a revolutionary government. There, on March 22, 1897, it was decided to dissolve the Katipunan and establish a republic. Bonifacio lost his bid for the presidency of the revolutionary government to Emilio Aguinaldo, who was in Pasong Santol, fighting the Spanish forces and instead was elected Secretary of the Interior. When members of the "Magdalo" faction tried to discredit him as uneducated and unfit for the position, Bonifacio declared the results of the convention as null and void, speaking as the "Supremo" of the Katipunan. Despite this, Aguinaldo took his oath of office as president the next day in Santa Cruz de Malabon (present-day Tanza) in Cavite, as did the rest of the officers, except for Bonifacio. Andrés Bonifacio and his brother Procopio were later arrested due to alleged incidents in Indang and, upon the orders of the Council of War and approved by Gen. Aguinaldo, they were both executed on May 10, 1897, at Mount Buntis in Maragondon, Cavite. He and his brother were buried in an unmarked grave.