selected by the provincial governors. The provincial governors are representatives of the central government in Kabul and are responsible for all administrative and formal issues within their provinces. There are also provincial councils that are elected through direct and general elections for four years. The functions of provincial councils are to take part in provincial development planning and to participate in the monitoring and appraisal of other provincial governance institutions. According to article 140 of the constitution and the presidential decree on electoral law, mayors of cities should be elected through free and direct elections for a four-year term. In practice however, mayors are appointed by the government. The following is a list of all the 34 provinces in alphabetical order: Badakhshan Badghis Baghlan Balkh Bamyan Daykundi Farah Faryab Ghazni Ghor Helmand Herat Jowzjan Kabul Kandahar Kapisa Khost Kunar Kunduz Laghman Logar Nangarhar Nimruz Nuristan Oruzgan Paktia Paktika Panjshir Parwan Samangan Sar-e Pol Takhar Wardak Zabul Foreign relations Afghanistan became a member of the United Nations in 1946. Historically, Afghanistan had strong relations with Germany, one of the first countries to recognize Afghanistan's independence in 1919; the Soviet Union, which provided much aid and military training for Afghanistan's forces and includes the signing of a Treaty of Friendship in 1921 and 1978; and India, with which a friendship treaty was signed in 1950. Relations with Pakistan have often been tense for various reasons such as the Durand Line border issue and alleged Pakistani involvement in Afghan insurgent groups. The present Islamic Emirate of Afghanistan is currently internationally unrecognized, but has had notable unofficial ties with China, Pakistan, and Qatar. Under the previous Islamic Republic of Afghanistan, it enjoyed cordial relations with a number of NATO and allied nations, particularly the United States, Canada, United Kingdom, Germany, Australia, and Turkey. In 2012, the United States and the then-republic in Afghanistan signed their Strategic Partnership Agreement in which Afghanistan became a major non-NATO ally. Such qualification was rescinded by US President Joe Biden in July 2022. Military The Armed Forces of the Islamic Emirate of Afghanistan captured a large amount of weapons, hardware, vehicles, aerocrafts, and equipment from the Afghan National Security Forces following the 2021 Taliban offensive and the Fall of Kabul. The total value of the captured equipment has been estimated at US$83 billion. Human rights Homosexuality is taboo in Afghan society; according to the Penal Code, homosexual intimacy is