Tomáš Garrigue Masaryk was a Czechoslovak politician, statesman, sociologist, and philosopher. Until 1914, he advocated restructuring the Austro-Hungarian Empire into a federal state. With the help of the Allied Powers, Masaryk gained independence for a Czechoslovak Republic as World War I ended in 1918. He was the first president of Czechoslovakia.