He also served as the first Chief of the General Staff from 1922 to 1924, and as the first Prime Minister after the declaration of the Republic, serving three terms: from 1923 to 1924, 1925 to 1937, and 1961 to 1965.