The monumental Mafra National Palace and Convent construction was ordered by king João the 5th in the first half of the 18th century. This is the most significant monument of the baroque architectural style in Portugal, integrating a Royal Palace, a Basilica, a Franciscan Convent and a very important Library