After the War of Independence, on October 29, 1923, the Republic of Türkiye was declared, and Atatürk was elected its first President.
He was re-elected four times and served as the longest-serving president until his death in 1938.