In 755, the general An Lushan rose against Emperor Xuanzong's rule, and by summer 756, Emperor Xuanzong was forced to flee Chang'an, toward Chengdu.
Meanwhile, because the empire was then in turmoil due to An Lushan's rebellion, the regular civil service process was not being carried out.