Answer
In 99 BC, to escape execution for defending a general who surrendered to the Xiongnu, the nomadic confederation in Inner Asia, Sima Qian, the renowned Chinese historian, opted for castration—a common alternative punishment during the Han dynasty. This decision not only spared his life but also allowed him to continue his magnum opus, the Records of the Grand Historian, a seminal work in Chinese historiography.