唐僖宗
Lu Wenji was born in 876, during the reign of Emperor Xizong of Tang. He was from Tang Dynasty's capital Chang'an. His grandfather Lu Jianqiu () served as a military governor ("Jiedushi"), while his father Lu Siye () served as "You Bujue" (), a low-level consultant at the legislative bureau of government (中書省, "Zhongshu Sheng").