After Liu Bei died, Zhuge Liang went on serving Liu Shan, the second ruler of Shu Han.
Tips
history
Liu Bei (刘备) named his state simply 汉, claiming to carry on the Han dynasty. Historians add 蜀, the old name of Sichuan, to tell it apart, and most people just say 蜀. It was conquered by Wei in 263.