안사의 난
In 751 the Chinese were defeated by an Arab army in the Battle of Talas. The An Lushan Rebellion led to the decline of Tang influence in Central Asia due to the fact that the Tang dynasty was forced to withdraw its troops from the region to fight An Lushan. The Tibetans cut all communication between China and the West in 766.