section_path: Government
section_name: Government
paragraph_text: Government
  
  Before the reforms of the 19th and 20th centuries, the state organisation of the Ottoman Empire was a system with two main dimensions, the military administration, and the civil administration. The Sultan was in the highest position in the system. The civil system was based on local administrative units based on the region's characteristics. The state had control over the clergy. Certain pre-Islamic Turkish traditions that had survived the adoption of administrative and legal practices from Islamic Iran remained important in Ottoman administrative circles. According to Ottoman understanding, the state's primary responsibility was to defend and extend the land of the Muslims and to ensure security and harmony within its borders in the overarching context of orthodox Islamic practice and dynastic sovereignty.
  
  The Ottoman Empire, or as a dynastic institution, the House of Osman, was unprecedented and unequaled in the Islamic world for its size and duration. In Europe, only the House of Habsburg had a similarly unbroken line of sovereigns (kings/emperors) from the same family who ruled for so long, and during the same period, between the late 13th and early 20th centuries. The Ottoman dynasty was Turkish in origin. On eleven occasions, the sultan was deposed (replaced by another sultan of the Ottoman dynasty, who were either the former sultan's brother, son or nephew) because he was perceived by his enemies as a threat to the state. There were only two attempts in Ottoman history to unseat the ruling Ottoman dynasty, both failures, which suggests a political system that for an extended period was able to manage its revolutions without unnecessary instability. As such, the last Ottoman sultan Mehmed VI (r. 1918–1922) was a direct patrilineal (male-line) descendant of the first Ottoman sultan Osman I (d. 1323/4), which was unparalleled in both Europe (e.g., the male line of the House of Habsburg became extinct in 1740) and in the Islamic world. The primary purpose of the Imperial Harem was to ensure the birth of male heirs to the Ottoman throne and secure the continuation of the direct patrilineal (male-line) power of the Ottoman sultans in the future generations.
  
  The highest position in Islam, caliph, was claimed by the sultans starting with Selim I, which was established as the Ottoman Caliphate. The Ottoman sultan, pâdişâh or "lord of kings", served as the Empire's sole regent and was considered to be the embodiment of its government, though he did not always exercise complete control. The Imperial Harem was one of the most important powers of the Ottoman court. It was ruled by the valide sultan. On occasion, the valide sultan became involved in state politics. For a time, the women of the Harem effectively controlled the state in what was termed the " Sultanate of Women ". New sultans were always chosen from the sons of the previous sultan. The strong educational system of the palace school was geared towards eliminating the unfit potential heirs and establishing support among the ruling elite for a successor. The palace schools, which also educated the future administrators of the state, were not a single track. First, the Madrasa (Medrese) was designated for the Muslims, and educated scholars and state officials according to Islamic tradition. The financial burden of the Medrese was supported by vakif s, allowing children of poor families to move to higher social levels and income. The second track was a free boarding school for the Christians, the Enderûn, which recruited 3,000 students annually from Christian boys between eight and twenty years old from one in forty families among the communities settled in Rumelia or the Balkans, a process known as Devshirme (Devşirme).
  
  Though the sultan was the supreme monarch, the sultan's political and executive authority was delegated. The politics of the state had a number of advisors and ministers gathered around a council known as Divan. The Divan, in the years when the Ottoman state was still a Beylik, was composed of the elders of the tribe. Its composition was later modified to include military officers and local elites (such as religious and political advisors). Later still, beginning in 1320, a Grand Vizier was appointed to assume certain of the sultan's responsibilities. The Grand Vizier had considerable independence from the sultan with almost unlimited powers of appointment, dismissal, and supervision. Beginning with the late 16th century, sultans withdrew from politics and the Grand Vizier became the de facto head of state.
  
  Throughout Ottoman history, there were many instances in which local governors acted independently, and even in opposition to the ruler. After the Young Turk Revolution of 1908, the Ottoman state became a constitutional monarchy. The sultan no longer had executive powers. A parliament was formed, with representatives chosen from the provinces. The representatives formed the Imperial Government of the Ottoman Empire.
  
  This eclectic administration was apparent even in the diplomatic correspondence of the Empire, which was initially undertaken in the Greek language to the west.
  
  The Tughra were calligraphic monograms, or signatures, of the Ottoman Sultans, of which there were 35. Carved on the Sultan's seal, they bore the names of the Sultan and his father. The statement and prayer, "ever victorious", was also present in most. The earliest belonged to Orhan Gazi. The ornately stylized Tughra spawned a branch of Ottoman-Turkish calligraphy.