Liu Zhi was the son of Liu Yi, the great-grandson of Emperor Zhang and Marquis of Liwu. After Emperor Zhi was poisoned and killed in 146, Liang Ji welcomed him to Beijing to succeed him at the age of fifteen. For more than ten years, the government was controlled by Liangtaihou and Liang Ji, and he was not allowed to interfere. After Liangtaihou died in 150, Liang Ji became more powerful, and Emperor Huan was restrained everywhere and could only accumulate power secretly. In 159, he conspired with the eunuchs Dan Chao, Zuo Ying, Xu Huang, Ju Yuan, and Tang Heng to send troops to surround Liang Ji's mansion, forcing Liang Ji and his wife to commit suicide. The Liang family was executed, and more than 3 billion in wealth was confiscated.
Since then, the power of the eunuchs has been at its peak. Five people were granted the title of marquis on the same day, known as the "Five Marquises". Their gangs spread all over the states and counties, and corruption and violence were rampant. The scholar-bureaucrats, headed by Li Ying and Chen Fan, joined forces with Tai students to attack the eunuchs and were accused of being cronies. The first disaster of party imprisonment broke out in 166, and more than 200 people were arrested. After being released the following year, they were imprisoned for life. During this period, there were constant border troubles and multiple incursions by the Xianbei and Qiang people. However, Emperor Huan indulged in sensuality, admired Huang Lao and pagodas, and had thousands of harem ladies.
However, there were also diplomatic and cultural exchanges during this period. In 166, the envoy of the Great King of Qin Andun arrived in Luoyang by sea. An Shigao, a monk from the Western Regions, and others translated a large number of Buddhist scriptures in Luoyang. In December 167, Emperor Huan died of illness at the age of thirty-six and had no children. Doutaihou and Dou Wu welcomed Liu Hong, Marquis of Jieduting, as Emperor Ling.
Emperor Huan of the Han Dynasty succeeded to the throne at the age of fifteen. He endured under the shadow of Liang Ji for more than ten years, and finally used the power of eunuchs to eradicate the Liang family in one fell swoop, showing a certain degree of courage. However, he allowed the eunuchs to take over the power twice, and raised party restrictions twice, excluding the scholar-bureaucrats represented by Li Ying and Chen Fan from the political power. He also indulged in sex and amassed people's wealth, which made Eastern Han politics more corrupt, and finally caused the world to become centrifugal, which became the turning point of Eastern Han's collapse.