Afghanistan was admitted into the United Nations on August 29, 1946. In 1947, Afghanistan was the only United Nations member to vote against admitting Pakistan into the United Nations. This was mostly done because of Kingdom's call for Pashtunistan. Nikita Khrushchev visited the capital of Kabul and endorsed the Afghan claims to Pashtunistan in 1955. Afghanistan also became a member of the Non-Aligned Movement in 1961. Mohammed Daoud Khan, Prime Minister of Afghanistan at the time, worked hard for development of modern industries, and education in the country. In July 1973, Daoud Khan staged a bloodless "coup d'état" while Zahir Shah was not in the country. The next month, Zahir Shah abdicated, hoping to avoid a civil war, which officially marked the end of the Kingdom of Afghanistan, and the beginning of the republic.