Zhang Xianzhong, courtesy name Bingwu (秉吾), art name Jingxuan (敬軒), was a Chinese peasant leader who led a peasant rebellion from Yan'an wei, Shaanxi 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. However, the extent of his killings is disputed.