The Tapada Nacional de Mafra was created in Mafra, Portugal, during the reign of king João V, following the building of the Mafra National Palace, as a park for royal and court recreation.