With the departure of the King from Brazil it was inevitable that complications should ensue. Having once enjoyed the status of a kingdom, and having been granted those privileges which had so benefited the country during the past few years, it was only natural that Brazil should resent any attempt to place her once again in the neglected situation from which she had been rescued. It seemed, nevertheless, as though the policy of Portugal would now be directed towards this end. It was at this juncture that the influence of Prince Pedro began to be felt.

Prince Pedro possessed a personality essentially capable of commanding; his talents, moreover, were varied. He was a good horseman, a keen sportsman, and was addicted to music and many of the politer arts. The part he had to play was undoubtedly a difficult one. His sentiments were intensely Brazilian; at the same time, in the letters he wrote to the Court of Portugal he stated distinctly that the Mother Country alone possessed his loyalty, as was only just, and that he would make no move whatever that would prejudice the interests of Portugal. He even went the length of lamenting his presence in the far-away land he governed, and swore that he longed for the day when he might return and sit upon the steps of his father's throne.

In the meanwhile the jealousies between the Portuguese and Brazilians increased rapidly, the bitterness being more especially evident in the soldiery of the respective lands. King João himself had behaved with little consideration ere his departure. One of his last acts in Brazil had been to promise the soldiery of that country double pay, yet, though he had left the promise behind him, he had left no means whatever to carry it out, and thus disturbances arose in many places.

On December 9, 1821, the brig Dom Sebastião arrived, bearing a decree to institute a provisional Government, which should again reduce the country to the condition of a province, and another which ordered the immediate return to Portugal of the young Prince Regent. A real crisis now arose. The Brazilians, devoted to Dom Pedro, implored him to remain; the Portuguese garrison spoke of removing him on a homeward-bound ship by force. The whole city was agog, and the excitement at fever-heat. In the midst of the turmoil the Brazilian troops surrounded the Portuguese, and, after obtaining a great strategic advantage, ordered them to march on board the vessels of the fleet bound for Lisbon.

The Portuguese were inclined to resist, when Dom Pedro himself appeared in their midst and ordered their commanders specifically to embark the next day and to sail for Portugal. He had now decided on his attitude, and was determined that his orders should be obeyed. To show that he was in earnest he even took a match in his hand and lit it, and swore that, did the Portuguese troops refuse, he would be the first man to fire a cannon at them. This ended the matter, and the next day the ship sailed and carried away the Portuguese garrison.

On May 13, 1822, a deputation from the Rio Chamber of Deputies approached Prince Pedro and persuaded him to assume the title of "Constitutional Prince Regent and Perpetual Defender of Brazil." Portugal, for its part, was now bitterly opposed to Brazil and to the Brazilians. Decrees were enacted towards the suppression of the independence of the great colony. One of these ran to the effect that Prince Pedro was to return to Europe within four months, and that any of the military who obeyed his orders, unless by compulsion, were to be deemed traitors to Portugal.

During all this time fresh troops were arriving to reinforce the garrison at Bahia, which had remained Royalist. The patriots, for their part, had collected strong forces and hemmed the Royalists in Bahia to such an extent that they could only retain communication by sea.

Matters grew more and more strained every day, for the Mother Country sought to put an end to the virtual supremacy of its great colony, while Brazil was utterly opposed to Portuguese rule. When Prince Pedro was ordered to return to Portugal, "in order to complete his education," the Brazilians, and especially the provincial Government of São Paulo, begged him to disobey and remain in Brazil. The soldiers threatened to mutiny if he went, and the people entreated him not to go, while every proof of his popularity was added cause for exasperation on the part of the Home Government, rendering his situation more dangerous.