Sima Qian, courtesy name Zichang, a native of Xiayang in Zuo Fengyi, was a Western Han historian and man of letters, son of the Grand Historian Sima Tan. Trained from boyhood in ancient texts, he studied under Dong Zhongshu and Kong Anguo, and from twenty traveled the Jiang-Huai region and Shu, inspecting historic sites and gathering traditions. Succeeding his father as Grand Historian, he gained access to the imperial archives, took part in fixing the Taichu calendar in 104 BC, and then began his great history. In 99 BC, for defending the general Li Ling, who had surrendered to the Xiongnu after defeat, he enraged Emperor Wu of Han, was jailed and subjected to castration; enduring the shame, he returned to office as Palace Secretary and poured his rage into writing, substantially completing the Book of the Grand Historian around 91 BC — known to posterity as the Records of the Grand Historian. Spanning the Yellow Emperor down to Emperor Wu's Taichu years, it comprises twelve Basic Annals, ten Tables, eight Treatises, thirty Hereditary Houses and seventy Biographies — 130 chapters, more than 520,000 characters — founding the annals-biography (jizhuanti) genre of universal history and heading the Twenty-Four Histories. He placed Xiang Yu among the Basic Annals and recorded the Chu-Han struggle in detail; his portraiture remains exemplary. Lu Xun hailed it as 'the last cry of the historians, a Li Sao without rhyme'. His own account survives in the Letter to Ren An; the year of his death is unknown, conventionally given as about 86 BC.