
The successful Turkish War of Independence against the occupying Allies led to the emergence of the Republic of Turkey in the Anatolian heartland and the abolition of the Ottoman monarchy and caliphate.
The empire entered WWI as an ally of Germany, and its defeat and the occupation of part of its territory by the Allied Powers in the aftermath of the war resulted in its partitioning and the loss of its Middle Eastern territories, which were divided between the United Kingdom and France.This marked the beginning of the dissolution of the Ottoman Empire. The Second Constitutional Era began after the Young Turk Revolution (July 3, 1908) with the sultan’s announcement of the restoration of the 1876 constitution and the reconvening of the Ottoman Parliament.The Ottoman Empire had long been the “sick man of Europe” and after a series of Balkan wars by 1914 was driven out of nearly all of Europe and North Africa.
During the Tanzimat period of modernization, the government’s series of constitutional reforms led to a fairly modern conscripted army, banking system reforms, the decriminalization of homosexuality, and the replacement of religious law with secular law and guilds with modern factories. In the 19th century, the empire faced challenges in defending itself against foreign invasion and occupation it ceased to enter conflicts on its own and began to forge alliances with European countries such as France, the Netherlands, Britain, and Russia. The Ottoman Empire was founded by Osman I in the 14th century and reached its apex under Suleiman the Magnificent in the 16th century, stretching from the Persian Gulf in the east to Hungary in the northwest and from Egypt in the south to the Caucasus in the north.