The role of the palace as the Royal Residence, mainly during the 19th century, and the early 20th century, meant that the palace witnessed several key historic events of the Portuguese Constitutional Monarchy, from the meeting of the Constituent Cortes in 1820, which led to the approval of the first Portuguese Constitution, to the events of the 5 October 1910, when the Monarchy was overthrown, and the Palace was briefly bombarded by troops supporting the republican cause. Throughout this period, several works of art were gathered by the Portuguese Royal Family in the palace, several of which were taken by the King Manuel II to his exile, while a significant number of the remaining collections were transferred to the museums of the Palácio da Ajuda and the Palácio da Pena.