İsmet İnönü became Turkey's second President following Atatürk's death on 10 November 1938. On 29 June 1939, the Republic of Hatay voted in favour of joining Turkey with a referendum. Turkey remained neutral during most of World War II, but entered the closing stages of the war on the side of the Allies on 23 February 1945. On 26 June 1945, Turkey became a charter member of the United Nations. In the following year, the single-party period in Turkey came to an end, with the first multiparty elections in 1946. In 1950 Turkey became a member of the Council of Europe.