Answer
As the Court Historian, Sima Qian held a crucial role in the imperial court, responsible for recording and preserving the official history and achievements of the Han Dynasty. He meticulously documented events, policies, and the actions of emperors and officials. His work, the Records of the Grand Historian, stands as a seminal masterpiece of Chinese historiography, renowned for its accuracy, impartiality, and literary brilliance.