In the first years of the 19th century, Portugal was invaded by the troops of Napoléon Bonaparte, forcing Queen Maria I and Prince-Regent John (future John VI) to flee temporarily to Brazil. By the time the new King returned to Lisbon, many of the buildings and properties were pillaged, sacked or destroyed by the invaders.