Mustafa Kemal Atatürk was the founder and first president of Turkey. He was born in 1881 in Salonika and lost his father at a young age, which forced him to leave school. He later attended military schools and had a successful military career, becoming a commander in the Turkish War of Independence against occupying powers after World War I. Atatürk established the Turkish Grand National Assembly in 1920 and was elected its president. After several military victories, the Treaty of Lausanne in 1923 recognized Turkey's independence. Atatürk established the Turkish Republic and implemented radical reforms to modernize the country before his death in 1938.