Smith was briefly stationed in Britain before he was posted to No. 130 (Punjab) Squadron in western Germany in April 1945. He flew combat missions there until Germany surrendered in May. He remained with No. 130 Squadron for the rest of his service, and returned home at the end of 1945. After completing his studies at Rhodes, he was elected to the Legislative Assembly for his birthplace, Selukwe, in 1948. He became Prime Minister in 1964, during his country's dispute with Britain regarding the terms for independence; Smith was influenced as a politician by his wartime experiences, and Rhodesia's military record on behalf of Britain became central to his sense of betrayal by post-war British governments. This partly motivated his administration's Unilateral Declaration of Independence in 1965. His status as a Second World War RAF veteran helped him win support, both domestically and internationally.