city against his orders. After the civil war, Nadir did not cede control of the Afghan throne back to Amanullah, and this led to several rebellions, including the Shinwari rebellion, the Kuhistan rebellion, the Ghilzai rebellion, and Mazrak's revolt. During World War II, Amanullah would unsuccessfully try to regain the throne with Axis help. Background Amānullāh Khān reigned in Afghanistan from 1919, achieving full independence from the British Empire shortly afterwards. Before the Treaty of Rawalpindi was concluded in 1921, Afghanistan had already begun to establish its own foreign policy, including diplomatic relations with the Russian Soviet Federative Socialist Republic in 1919. During the 1920s, Afghanistan established diplomatic relations with most major countries. The second round of Anglo–Afghan negotiations for final peace were inconclusive. Both sides were prepared to agree on Afghan independence in foreign affairs, as provided for in the previous agreement. The two nations disagreed, however, on the issue that had plagued Anglo-Afghan relations for decades and would continue to cause friction for many more — authority over Pashtun tribes on both sides of the Durand Line. The British refused to concede Afghan control over the tribes on the British side of the line while the Afghans insisted on it. The Afghans regarded the 1921 agreement as only an informal one. The rivalry of the great powers in the region might have remained subdued had it not been for the dramatic change in government in Moscow brought about by the Bolshevik Revolution of 1917. In their efforts to placate Muslims within their borders, the new Soviet leaders were eager to establish cordial relations with neighboring Muslim states. In the case of Afghanistan, the Soviets could achieve a dual purpose: by strengthening relations with the leadership in Kabul, they could also threaten Britain, which was one of the Western states supporting counterrevolution in the Soviet Union. In his attempts to end British control of Afghan foreign policy, Amanullah sent an emissary to Moscow in 1919; Vladimir Lenin received the envoy warmly and responded by sending a Soviet representative to Kabul to offer aid to Amānullāh's government. Throughout Amānullāh's reign, Soviet-Afghan relations fluctuated according to Afghanistan's value to the Soviet leadership at a given time; Afghanistan was either viewed as a tool for dealing with Soviet Muslim minorities or for threatening the British. Whereas the Soviets sought Amanullah's assistance in suppressing anti-Bolshevik elements in Central Asia in return for help