He was appointed to the fourth department of the General Staff on 26 March 1906. He went to Romania to observe a military exercise and awarded with a 2nd class order by the Romanian government on 4 August 1907. On 25 June 1908, he was appointed to the member of the military tribunal that was established because of some important affairs. Then he was appointed to the commander of the 17th Division stationed in Siroz (Serez, present day: Serres). After the 31 March Incident, he was commissioned commander as the commander of the Provisional Division of the Action Army in 1909. On 2 July 1911, he was appointed to the commander of the 1st Division under the command of the I Corps. During the First Balkan War, he went to Babaeski and was appointed the commander of the 9th Division by the order of the Eastern Army ("Şark Ordusu"). He took part in battles at Petra (present day: Kayalı village in the central district of Kırklareli Province) on 9–10 October 1912 and Taştabya, Vize and Çatalca. He was promoted to the rank of Mirliva on 19 December 1912. On 21 January 1913, he was appointed the commander of the I Corps (part of the left wing of the Çatalca Army) by proxy. And then he was appointed the commander of the 18th Division on 6 March 1913. During the Second Balkan War, he commanded the II Corps under the Çatalca Army commanded directly by Ahmet Izzet Pasha and took part in the advance to Adrianople. After the armistice, on 24 December 1913, he was appointed to the commander of the III Corps. After the 1914 mobilization of World War I, Sultan Mehmed V asked him to be the commander of the Third Army. He was the commander during Bergmann Offensive. He feared in the background of the ill and rapid changes in the Army leadership during the preparations for the Battle of Sarikamish. He also opposed Enver Pasha to attack prematurely during Battle of Sarikamish. He gave his post as commander of the Third Army on 18 December 1914.