He passed the exams young and was chief minister for a few months in 822, but spent long years in posts far from the capital. With
白居易, who called him
元九, he led the
新乐府 movement of plain poems on the lives of ordinary people, and their names are joined as
元白. Their poems to each other fill whole collections.