In 1978 general daud was overthrown and killed in a soviet backed coup and babrak karmal was installed as the ruler in 1980.