Her grandfather was one of four courtiers who took refuge in China with King Jin Peng when the "Jin Peng Dynasty" fell.
Shangguan Yanfei was not treated as well as her cousin Princess Shangguan Fengdan when she was a child. She was very jealous.
After her grandfather's death, she only wanted to make a difference in the Jianghu, but she went astray. In order to seize the wealth of Jinpengguo, she designed and killed Princess Feng Dan.