European sovereign state from 1065 to 1230. From 1230 to 1833 it was the territorial jurisdiction of the Crown of Castile.