There is a volume of Sima Qian's works in Economic Annals of Sui Shu.
In the first year of Tai Chu (BC 104), China's first almanac, taichu calendar, was completed, and Sima Qian began to write Historical Records. In the second year of Liang Wudi (99 BC), Sima Qian was imprisoned for protecting Li Ling and sentenced to imprisonment (then known as corruption). In the first year of Taichu (96 BC), Sima Qian was released from prison.