Ban Gu was a member of the imperial clan of Han Dynasty. As a senior official, he was called into the palace and became one of the most respected figures at that time.
Ban Gu is the grandson of Ban Biao, a famous scholar in the Western Han Dynasty, and his father Ban Zhao was Du You's ancient adviser. When he grew up, Ban Gu was admitted to Jinshi, and he was appreciated by the Han Emperor at that time because of his outstanding talent. Emperor Huan of the Han Dynasty thought that Ban Gu had the characteristics of erudition and good conduct, so he appointed him to the palace as an attendant and wrote a royal history book.
During his tenure as an attendant, Ban Gu followed the traditional practice of the Han Dynasty at that time and began to write a series of important works on history, culture, politics and society, including Xue Ji. Xueji is a book that describes in detail the active promotion of education in Han Dynasty, the elegant demeanor of scholars, Confucianism and cultural inheritance, and it is one of the earliest books in China that systematically describes the history of educational development.
When writing Xue Ji, Ban Gu faced many difficulties and challenges, but he persisted in his research work and had a profound understanding of history and culture. Xue Ji by Ban Gu, because of its excellent academic level and excellent writing style, became an important reference for scholars to study knowledge and imitate ancient prose in the late Han, late Tang and Ming and Qing Dynasties. At the same time, Ban Gu became one of the outstanding scholars and cultural celebrities in the history of China.