Royal free city
A royal free city, or free royal city (libera regia civitas), was the official term for the most important cities in the Kingdom of Hungary from the late 12th century to the Hungarian Revolution of 1848. The cities were granted certain privileges by the King of Hungary to prevent their control by the Hungarian nobility, hence "royal", and exercised some self-government in relation to their internal affairs and so were "free".