After the end of World War I, following the occupation of Anatolia by Entente Powers, many Ottoman military personnel escaped from Rumelia to Anatolia in order to join the new Turkish National Movement (TNM). During the War of Independence, on 3 May 1920, Birinci Ferik Mustafa Fevzi Pasha (Çakmak) was appointed the Minister of National Defence, and Mirliva İsmet Pasha (İnönü) was appointed the Minister of the Chief of General Staff of the government of the Grand National Assembly (GNA). But on 3 August 1921, the GNA fired İsmet Pasha from the post of Minister of National Defence because of his failure at the Battle of Afyonkarahisar–Eskişehir and on 5 August, just before the Battle of Sakarya, appointed the chairman of the GNA Mustafa Kemal Pasha (Atatürk) as commander-in-chief of the Army of the GNA. The TNM won the War of Independence after İzmir was retrieved in 1922 as a result of Greco-Turkish Wars (1919–1922).