Li Shimin
This story is set during the Tang dynasty, during the reign of Emperor Taizong of Tang.