 Until 1833 Galicia retained the status of a kingdom within Castile, with its own assembly.An "antiquated system" of land tenure, based on long-term leases or "foros", persisted down to the 1920s and caused many legal disputes and social conflicts.The Galician language is more similar to Portuguese than to Castilian.