Du You
In 800, Liu became a secretary to the important scholar-official Du You who had been made the military governor of Xusihao Circuit, in charge of suppressing an insurrection in Xuzhou, enabling Liu to see army life at first hand. Later he followed Du You to Yangzhou, where he enjoyed the company of the poet Li Yi.