Foral

The word foral (European Portuguese: [fuˈɾaɫ], plural: forais) is a noun derived from the Portuguese word foro, ultimately from Latin forum, equivalent to Spanish fuero, Galician foro, Catalan fur and Basque foru.
A Carta de Foral, or simply Foral, was a royal document in Portugal and its former empire, whose purpose was to establish a concelho (Council) and regulate its administration, borders and privileges. A newly founded town would also need the king's approval through a Foral, in order to be considered one. In this case, the town's administration and privileges would be defined in that document. Forais were granted between the 12th and the 16th centuries.