Mustafa Kemal Atatürk lands at Samsun on the Anatolian Black Sea coast, initiating what is later termed the Turkish War of Independence.

The Turkish War of Independence (19 May 1919 24 July 1923) was a series of military campaigns waged by the Turkish National Movement after parts of the Ottoman Empire were occupied and partitioned following its defeat in World War I. These campaigns were directed against Greece in the west, Armenia in the east, France in the south, loyalists and separatists in various cities, and British and Ottoman troops around Constantinople (stanbul). Simultaneously, the Turkish nationalist movement carried out massacres and deportations in order to eliminate native Christian populationsa continuation of the Armenian genocide and other ethnic cleansing operations during World War I. These campaigns resulted in the creation of the Republic of Turkey.

While World War I ended for the Ottoman Empire with the Armistice of Mudros, the Allied Powers continued occupying and seizing land. Ottoman military commanders therefore refused orders from both the Allies and the Ottoman government to surrender and disband their forces. This crisis reached a head when Sultan Mehmed VI dispatched Mustafa Kemal (Atatrk) Pasha, a well-respected and high-ranking general, to Anatolia to restore order; however, Mustafa Kemal became an enabler and eventually leader of Turkish nationalist resistance against the Ottoman government, Allied powers, and Christian minorities.

In an attempt to establish control over the power vacuum in Anatolia, the Allies persuaded Greek Prime Minister Eleftherios Venizelos to launch an expeditionary force into Anatolia and occupy Smyrna (zmir), beginning the Turkish War of Independence. Many different national congresses banded together which led to the establishment of the Grand National Assembly (GNA) in Ankara, a counter government led by Mustafa Kemal made up of remaining elements of the Committee of Union and Progress. The Allied powers meanwhile pressured the Ottoman government into suspending the Constitution, shuttering the Chamber of Deputies, and signing the Treaty of Svres, a treaty unfavorable to Turkish interests that the "Ankara government" declared illegal.

In the ensuing war, irregular militia known as Kuva-yi Milliye defeated the French forces in the south, and undemobilized units led by Kazm Karabekir Pasha went on to partition Armenia with Bolshevik forces, resulting in the Treaty of Kars (October 1921). The Western Front of the independence war was known as the Greco-Turkish War, in which Greek forces at first encountered unorganized resistance. However smet Pasha's organization of Kuva-yi Milliye militia into a regular army paid off when Ankara forces fought the Greeks in the Battles of First and Second nn. The Greek army emerged victorious in the Battle of Ktahya-Eskiehir and decided to drive on the nationalist capital of Ankara, stretching their supply lines. The Turks checked the advance in the Battle of Sakarya and counter-attacked in the Great Offensive, which expelled Greek forces from Anatolia in the span of three weeks. The war effectively ended with the recapture of zmir and the Chanak Crisis, prompting the signing of another armistice in Mudanya.

The GNA in Ankara was recognized as the legitimate Turkish government, which signed the Treaty of Lausanne (July 1923), a treaty more favorable to Turkey than the Svres Treaty. The Allies evacuated Anatolia and Eastern Thrace, the Ottoman government was overthrown and the monarchy abolished, and the Grand National Assembly of Turkey (which remains Turkey's primary legislative body today) declared the Republic of Turkey on 29 October 1923. With the war, the elimination of Christians, the partitioning of the Ottoman Empire, and the abolition of the sultanate, the Ottoman era came to an end, and with Atatrk's reforms, the Turks created the modern, secular nation-state of Turkey. On 3 March 1924, the Ottoman caliphate was also abolished.

Kemal Atatürk (or alternatively written as Kamâl Atatürk, Mustafa Kemal Pasha until 1934, commonly referred to as Mustafa Kemal Atatürk; c. 1881 – 10 November 1938) was a Turkish field marshal, revolutionary statesman, author, and the founding father of the Republic of Turkey, serving as its first president from 1923 until his death in 1938. He undertook sweeping progressive reforms, which modernized Turkey into a secular, industrializing nation. Ideologically a secularist and nationalist, his policies and socio-political theories became known as Kemalism. Due to his military and political accomplishments, Atatürk is regarded as one of the most important political leaders of the 20th century.Atatürk came to prominence for his role in securing the Ottoman Turkish victory at the Battle of Gallipoli (1915) during World War I. Following the defeat and dissolution of the Ottoman Empire, he led the Turkish National Movement, which resisted mainland Turkey's partition among the victorious Allied powers. Establishing a provisional government in the present-day Turkish capital Ankara (known in English at the time as Angora), he defeated the forces sent by the Allies, thus emerging victorious from what was later referred to as the Turkish War of Independence. He subsequently proceeded to abolish the decrepit Ottoman Empire and proclaimed the foundation of the Turkish Republic in its place.

As the president of the newly formed Turkish Republic, Atatürk initiated a rigorous program of political, economic, and cultural reforms with the ultimate aim of building a modern, progressive and secular nation-state. He made primary education free and compulsory, opening thousands of new schools all over the country. He also introduced the Latin-based Turkish alphabet, replacing the old Ottoman Turkish alphabet. Turkish women received equal civil and political rights during Atatürk's presidency. In particular, women were given voting rights in local elections by Act no. 1580 on 3 April 1930 and a few years later, in 1934, full universal suffrage.His government carried out a policy of Turkification, trying to create a homogeneous, unified and above all secular nation. Under Atatürk, the few surviving indigenous minorities were pressured to speak Turkish in public; non-Turkish toponyms and last names of minorities had to be changed to Turkish renditions. The Turkish Parliament granted him the surname Atatürk in 1934, which means "Father of the Turks", in recognition of the role he played in building the modern Turkish Republic. He died on 10 November 1938 at Dolmabahçe Palace in Istanbul, at the age of 57; he was succeeded as president by his long-time Prime Minister İsmet İnönü and was honored with a state funeral.

In 1981, the centennial of Atatürk's birth, his memory was honoured by the United Nations and UNESCO, which declared it The Atatürk Year in the World and adopted the Resolution on the Atatürk Centennial, describing him as "the leader of the first struggle given against colonialism and imperialism" and a "remarkable promoter of the sense of understanding between peoples and durable peace between the nations of the world and that he worked all his life for the development of harmony and cooperation between peoples without distinction". He was also praised for condemning the atrocities against Armenians.