802) was a general of the Chinese Tang dynasty, who, in his childhood, briefly served as the ruler of Weibo Circuit (魏博, headquartered in modern Handan, Hebei), which had been held by his family for generations.
The soldiers soon overthrew him and replaced him with his distant relative Tian Xing, and he was delivered to the Tang capital Chang'an.
Tian Ji'an was moved out of the headquarters into a separate residence, and he died a month later, on September 21, 812.
Meanwhile, because of Tian Huaijian's youth, the servant Jiang Shize (蔣士則) came to be making the key decisions, and Jiang made movements that were based on his own likes and dislikes, causing the soldiers to be disgruntled.
One morning, when Tian Xing was set to enter the headquarters to meet Tian Huaijian, the soldiers surrounding him bowed to him, asking him to be active military governor.