张九龄
In any case, this was only a minor setback to his career, and it had a compensation in that it did allow him to travel. Then, a series of promotions following this demotion was apparently attributable to a relationship with the prominent governmental minister, poet, and literary scholar Zhang Jiuling, at least until Zhang's 727 demotion to a post in Jingzhou. By 728, Wang Wei was back in Chang'an, where he entertained the poet Meng Haoran, who was to become a close friend and poetic colleague. At this point, Wang seems to have achieved the rank of Assistant Censor, and then a subsequent governmental promotion, but then later being demoted back to Assistant Censor, with the loss in imperial favor of Zhang Jiuling and the rising political ascendency of Li Linfu. After his wife's death in 731, he never remarried. It was in his role as a government official that Wang Wei was dispatched to Liangzhou, which was then the northwestern frontier of the Chinese empire, and the scene of constant military conflicts. By invitation of the local commander, Wang served in this location until returning to Chang'an in 738 or early 739.