The Democratic Republic of Afghanistan was the government of Afghanistan between 1978 and 1992. It was recognised diplomatically by only eight countries which were allies of the Soviet Union. It was ideologically close to and economically and militarily dependent on the Soviet Union, and was a major belligerent of the Afghan Civil War.