Early in the Tongguang era (923-926) of Later Tang's founding emperor Li Cunxu, Zhang Li passed the imperial examinations in the Jinshi class.
Shortly after, Li Jiji began to lead his army back toward the Later Tang capital Luoyang.