 The palace was classified as a National Monument in 1910 and was also a finalist in the Seven Wonders of Portugal.On 7 July 2019, the Royal Building of Mafra – Palace, Basilica, Convent, Cerco Garden and Hunting Park (Tapada) was inscribed as a UNESCO World Heritage Site.The palace, which also served as a Franciscan friary, was built during the reign of King John V (1707–1750), as consequence of a vow the king made in 1711, to build a convent if his wife, Queen Mariana, gave him offspring.