Afghanistan – People's Republic of China relations were mostly warm and friendly during most of the 20th Century but after the Soviet invasion of Afghanistan in 1979, relations severely deteriorated. In the 21st century relations have improved significantly.[citation needed]