They opposed the end of slavery, wanted a democracy in which only they were enfranchised, preservation of the existing social hierarchy, a monarch who would be a mere figurehead, and a weak federal organization in which the provinces would be ruled by the local interests without interference from the central government. Both groups convinced the Prince not to return to Portugal, and he replied on 9 January 1822: "Since it is for the good of all and the general happiness of the Nation, I am willing. Tell the people that I am staying."" He appointed José Bonifácio, leader of the Luso-Brazilians, as head of the Cabinet on 18 January 1822. Pedro traveled to São Paulo province to secure its loyalty to the Brazilian cause, but he received a letter from Bonifácio as he was returning to Rio de Janeiro on 7 September. The prince learned that the Cortes had annulled the remaining powers he had retained. Pedro turned to his companions, who included his Guard of Honor and said: "Friends, the Portuguese Cortes wants to enslave and pursue us. From today onward our relations are broken. No ties unites us any longer". Pulling off his blue and white armband which symbolized Portugal, he continued: "Armbands off, soldiers. Hail to independence, to freedom and to the separation of Brazil". In a moment which would become the most iconic in Brazilian history, he unsheathed his sword and affirmed that "For my blood, my honor, my God, I swear to give Brazil freedom", and then cried out: "Independence or death!" Pedro's decision to defy the Cortes was met with armed opposition across Brazil by troops loyal to Portugal. The ensuing Brazilian War of Independence spread throughout most of the country, with battles fought in the northern, northeastern, and southern regions. The last Portuguese soldiers surrendered on 8 March 1824, and independence was recognized by Portugal on 29 August 1825. In addition to those Brazilians and Portuguese who fought in the war, much of the credit for this victory is credited to Bonifácio's cabinet. It created an army and a navy practically out of nothing, greatly improved government finances, and unified the provinces under a single, cohesive leadership. On 12 October 1822 Prince Pedro was acclaimed Dom Pedro I, Constitutional Emperor and Perpetual Defender of Brazil. It was concurrently the beginning of Pedro's reign and the birth of the independent Empire of Brazil. He