Who is the historical figure who keeps his promise for a hundred miles?

Pei Xingjian.

A Hundred Miles Keeping the Moon is a shooter hero in Tencent's mobile game the glory of the king, and its historical prototype is Pei Xingjian, a famous politician and calligrapher in the Tang Dynasty. Pei Xingjian, a native of Wenxi, Jiangzhou (now Wenxi Northeast, Shanxi), lived in the Tang Dynasty, and was the second son of Pei Renji, a minister of etiquette in the Sui Dynasty. Pei Xingjian made remarkable military achievements in the Tang Dynasty and was also an excellent calligrapher. However, it should be noted that although Pei Xingjian is the prototype of keeping a promise in the glory of the king, the settings and story background in the game are not exactly the same as the life of Pei Xingjian, a historical figure, and the game has created and adapted it.