 Until the 19th century the administration of the Azores had been separated from the national government, and considered overseas territories.After 1895, the Azores and Madeira obtained their own level of administrative autonomy that was established in the Portuguese Constitution.In this form the islands began to function as autonomous districts, similar to the district "Juntas Gerais", which continued until 1974.