Tomáš Garrigue Masaryk was elected the country's first president in the 1920 election and his guidance helped to hold the country together. A coalition of five Czechoslovak parties, which became known as the "Pětka" (The Five), constituted the backbone of the government and maintained stability. Prime Minister Antonin Svehla led the Pětka for most of the 1920s and designed a pattern of coalition politics that survived until 1938. Masaryk was re-elected in 1925 and 1929, serving as President until December 14, 1935 when he resigned due to poor health. He was succeeded by Edvard Beneš.