Lyons led the UAP to a landslide victory at the 1931 election. Nicknamed "Honest Joe", he was known as a masterful political campaigner and became popular with the general public. His personal popularity was a major factor in the government's re-election in 1934 and 1937; he was the first prime minister to win three federal elections. The UAP initially governed alone but after 1934 formed a coalition with the Country Party. Lyons served as his own treasurer until 1935 and oversaw Australia's recovery from the Great Depression. He faced a number of foreign-policy challenges, but accelerated Australia's transition towards an independent foreign policy. In the lead-up to World War II his government pursued a policy of appeasement and rearmament.