Following the Távora affair, the new Count of Oeiras knew no opposition. Made "Marquis of Pombal" in 1770, he effectively ruled Portugal until Joseph I's death in 1779. However, historians also argue that Pombal’s "enlightenment," while far-reaching, was primarily a mechanism for enhancing autocracy at the expense of individual liberty and especially an apparatus for crushing opposition, suppressing criticism, and furthering colonial economic exploitation as well as intensifying book censorship and consolidating personal control and profit.
The new ruler, Queen Maria I of Portugal, disliked the Marquis because of the power he amassed, and never forgave him for the ruthlessness at which he dispatched the Távora family, and upon her accession to the throne, she did what she had long vowed to do: she withdrew all his political offices. Pombal died peacefully on his estate at Pombal in 1782.
In the autumn of 1807, Napoleon moved French troops through Spain to invade Portugal. From 1807 to 1811, British-Portuguese forces would successfully fight against the French invasion of Portugal, while the royal family and the Portuguese nobility, including Maria I, relocated to the Portuguese territory of Brazil, at that time a colony of the Portuguese Empire, in South America. This episode is known as the Transfer of the Portuguese Court to Brazil.
Brazilian independence
With the occupation by Napoleon, Portugal began a slow but inexorable decline that lasted until the 20th century. This decline was hastened by the independence in 1822 of the country's largest colonial possession, Brazil. In 1807, as Napoleon's army closed in on Portugal's capital city of Lisbon, the Prince Regent João VI of Portugal transferred his court to Brazil and established Rio de Janeiro as the capital of the Portuguese Empire. In 1815, the Portuguese Empire changed its name to the United Kingdom of Portugal, Brazil and the Algarves.
Due to the change in