(1865). Guerrero was a liberal by conviction, and active in the
York Rite Masons, established in Mexico after independence by
Joel Roberts Poinsett, the U.S. diplomatic representative to the newly independent Mexico. The
Scottish Rite Masons had been established before independence. Following independence the
Yorkinos appealed to a broad range of Mexico's populace, as opposed to the Scottish Rite Masons, who were a bulwark of conservatism, and in the absence of established political parties, rival groups of Masons functioned as political organizations. Guerrero had a large following among urban
Yorkinos, who were mobilized during the 1828 election campaign and afterwards, in the ouster of the president-elect,
Manuel Gómez Pedraza. In 1828, the four-year term of the first president of the republic,
Guadalupe Victoria, came to an end. Unlike the first presidential election and the president serving his full term, the election of 1828 was highly partisan. Guerrero's supporters included federalist liberals, members of the radical wing of the York Rite Freemasons. During Guerrero's campaign he advocated for political opportunities for all regardless of their race and wealth through universal suffrage in Mexico. The U.S. diplomatic representative in Mexico,
Joel Roberts Poinsett, was enthusiastic about Guerrero's candidacy, writing Guerrero himself did not leave an abundant written record, but some of his speeches survive. Two weeks after the September election,
Antonio López de Santa Anna rose in rebellion in support of Guerrero. As governor of the strategic state of Veracruz and former general in the war of independence, Santa Anna was a powerful figure in the early republic, but he was unable to persuade the
state legislature to support Guerrero in the indirect elections. Santa Anna resigned the governorship and led 800 troops loyal to him in capturing the fortress of Perote, near Xalapa. He issued a political plan there calling for the nullification of Gómez Pedraza's election and the declaration of Guerrero as president. In November 1828 in Mexico City, Guerrero supporters took control of the Accordada, a former prison transformed into an armory, and days of fighting occurred in the capital. President-elect Gómez Pedraza had not yet taken office and at this juncture he resigned and soon went into exile in England. With the resignation of the president-elect and the ineffective rule of the sitting president, civil order dissolved. On 4 December 1828, a riot broke out in the
Zócalo and the Parián market, where luxury goods were sold, was looted. Order was restored within a day, but elites in the capital were alarmed at the violence of the popular classes and the huge property losses. With the resignation of Gómez Pedraza, and Guerreros's cause backed by Santa Anna's forces and the powerful liberal politician
Lorenzo de Zavala, Guerrero became president. Guerrero took office as president, with Bustamante, a conservative, becoming vice president. One scholar sums up Guerrero's situation, "Guerrero owed the presidency to a mutiny and a failure of will on the part of [President] Guadalupe Victoria...Guerrero was to rule as president with only a thin layer of support." ==Presidency==