After Liu Xiu became emperor, Gongsun Shu, the king of Bashu and Shu in the west, and Wei Xiao in Longxi threatened the Eastern Han Dynasty greatly. In the eighth year of Guangwu Emperor's Jianwu, Liu Xiu led an army to crusade against Wei Xiao, and Wei Xiao was defeated and fled to the western regions. Liu Xiu ordered the general to carry out his plan of "looking at Shu from the dragon", and then attacked Bashu, sweeping away the king of Shu and making Bashu adopted by Han
.