The Portuguese deputies of the Cortes showed no respect towards the prince and openly mocked him. And so the loyalty that Pedro had shown towards the Cortes gradually shifted to the Brazilian cause. His wife, princess Leopoldina of Habsburg, favoured the Brazilian side and encouraged him to remain in the country.
Pedro departed to São Paulo Province to assure the province’s loyalty to the Brazilian cause. He reached its capital on August 25th of 1822 and remained there until September 5th. When returning to Rio de Janeiro on September 7th he received mail from José Bonifácio and his wife Leopoldina. The prince learned that the Cortes had annulled all acts from the Bonifácio cabinet and removed the remaining power he still had. Pedro turned to his companions that included his Guard of Honor and spoke: “Friends, the Portuguese Cortes want to enslave and pursue us. From today on our relations are broken. No ties unite us anymore” and continued after he pulled out his blue-white armband that symbolized Portugal: “Armbands off, soldiers. Hail to the independence, to freedom and to the separation of Brazil”. He unsheathed his sword affirming that “For my blood, my honor, my God, I swear to give Brazil freedom” and cried out: “Independence or death!”. This event is remembered as “Cry of Ipiranga”.