It is not known when Liu Zhijun was born, but it is known that he was from Pei County.
In spring 904, after Zhu had Cui killed (after suspecting Cui of turning against him), he further forced Emperor Zhaozong to move the capital from Chang'an to Luoyang.