Afghanistan officially joined the United Nations on 19 November 1946 as the Kingdom of Afghanistan. In June 1945, the month after war had ended in Europe, representatives from 50 countries came together and drew up the UN Charter, which was signed on 26 June 1945.