Pei Du
In 826, Liu was again recalled, this time to Luoyang, ending the long period of his banishment from the court. In 827, he was given a post in the government, becoming a director (langzhong) of a bureau the following year. With the support again of the (then) Chancellor Pei Du, Liu was once again promoted to be an Academician (Jixianxueshi 集贤院学士), a post that lasted for four years, during which he was able to associate with Pei Du, Cui Qun and the poet Bai Juyi. In 828, he was able to visit Changan, where he wrote the poem "Visiting Xuandu Temple Again" (再遊玄都觀 Zài Yóu Xuándū Guān), noting that the peach trees had all disappeared, since his previous visit 14 years earlier.