Although the Soviet troop presence in Afghanistan ended in February 1989, large-scale Soviet military and economic assistance continued. As Soviet troops withdrew, they left behind most of their materials except for the vehicles needed to transport them back over the border. The USSR was also affected by its failure.