Liu Heng, Emperor Wen of the Han Dynasty (203 BC-July 6, 157 BC), was the fifth emperor of the Western Han Dynasty (excluding the former Shaodi and Hou Shaodi of the Western Han Dynasty, who was the third, and reigned from 180 BC to 157 BC). The fourth son of Liu Bang, Emperor Gaozu of the Han Dynasty, half-brother of Emperor Hui of the Han Dynasty, Liu Ying, and his mother Bo Ji.
In the eleventh year of Emperor Gaozu of the Han Dynasty (196 B.C.), he was conferred on behalf of the king. After the death of Emperor Gaozu of the Han Dynasty, Empress Lv came to rule the dynasty, and Emperor Hui of Han died young, and Zhu Lu held the power in the dynasty. After the death of Empress Lv, Taiwei Zhou Bo and the prime minister Chen Pingping smashed the forces of Lv and welcomed Liu Heng, the acting king, to Beijing to succeed him, known in history as Emperor Wen of the Han Dynasty.