However, an alternative version of Tuoba Gui's early life was presented in documents such as the "Book of Jin" and "Book of Song"—the official histories of the rival Jin Dynasty (265-420) and Liu Song Dynasty, which obviously had a motive to be biased, and yet presented interesting issues. Under this version, Tuoba Gui was not Tuoba Shiyijian's grandson, but his son—and was born significantly earlier than the official 371 date, of Tuoba Shiyijian's wife Princess Murong. When Former Qin attacked in 377, it was Tuoba Gui who restrained his father Tuoba Shiyijian and surrendered. Fu Jiān, offended at this act of betrayal, exiled Tuoba Gui. When Murong Chui, his uncle, declared Later Yan in 384, Tuoba Gui joined him, and was later put in charge of his father's tribes through a military campaign waged by Later Yan. Then, later, in order to avoid having the people know Tuoba Gui's status as a traitor to his father, the official version of his personal history was manufactured.