Modern-day Afghanistan is a multiethnic, multilingual country inhabited by distinct and often competing tribal societies, its national borders defined only following the Treaty of Rawalpindi of 1919 between the United Kingdom and the Emirate of Afghanistan. Afghanistan was briefly a democratic state until a 1973 coup, which resulted in the April Revolution of 1978.