Zhang Xianzhong (張獻忠 or Chang Hsien-chung; 18 September 1606 – 2 January 1647), courtesy name Bingwu (秉吾), art name Jingxuan (敬軒), was a Chinese peasant leader who led a peasant rebellion from Yan'an wei, Shaanxi (today Yulin, Shaanxi province) during the Ming-Qing transition.
He conquered Sichuan in 1644, and named himself king and later emperor of the Xi dynasty. His rule in Sichuan was brief, and he was killed by the invading Qing army. He is commonly associated with the massacres in Sichuan that depopulated the region. The events which occurred during Zhang's rule as well as the events which occurred after it, resulted in the devastation of Sichuan, where he was said to have "engaged in one of the most hair-raising genocides in imperial history". However, the extent of his killings is disputed.