Shi Dakai (石達開) was one of the major leaders of the Taiping Rebellion, a failed peasant uprising against the corrupt Qing dynasty. After accepting defeat at the hands of the Qing army, Shi Dakai sacrificed himself in exchange for the lives of his troops:

A monument of Shi Dakai in Chengdu
“On 13 June, Shi Dakai negotiated with the Qing to spare his men’s lives if he turned himself in. He entered Qing camps with three followers, dressed in formal Taiping uniform, and spoke to the Qing fearlessly. He was questioned and imprisoned, and on the 25th he was executed by slow slicing in the Anshun Court.”