Answer
After Brazil was elevated to a kingdom in 1815, Maria I became the Queen of the United Kingdom of Portugal, Brazil and the Algarves. This title reflected the fact that Portugal and Brazil were now equal kingdoms in a personal union, with Maria I as their joint monarch. The title also reflected the fact that the Algarves, a region of southern Portugal, were still part of the Portuguese kingdom.