Across the nineteenth and early twentieth centuries, the Ottoman Empire lost most of its European and Arab territories. National movements, wars, great-power rivalry and internal reform transformed a multi-continental empire into the Republic of Turkey.