told Lü Bu, "Zhang Yide quarrelled with Cao Bao and killed him. The city is now in a state of chaos. There are 1,000 soldiers from Danyang stationed at the west white gate. When they heard of your arrival, they jumped for joy as if they have been revitalised. The Danyang soldiers will open the west gate for you when you reach there." Lü Bu mobilised his troops that night and reached Xiapi at dawn, where the Danyang soldiers opened the west gate for him. Lü Bu sat on the viewing platform above the gate and instructed his troops to set fire in the city. They defeated Zhang Fei and his men in battle and captured Liu Bei's family, the families of Liu's subordinates, and Liu's supplies. Upon receiving news of Lü Bu's intrusion, Liu Bei immediately headed back to Xiapi Commandery but most of his troops scattered along the way. With his remaining men, Liu Bei moved eastward to take Guangling Commandery where Yuan Shu's forces defeated him. Liu Bei then retreated to Haixi County (海西縣; southeast of present-day Guannan County, Jiangsu). Where, in hunger and desperation, he surrendered to Lü Bu. This took place in around early 196. Lü Bu was displeased that Yuan Shu's supplies had not reached him yet, so he led his men to welcome Liu Bei. He appointed Liu Bei as the Inspector (刺史) of Yu Province and ordered him to garrison at Xiaopei, while he declared himself the Governor of Xu Province and remained in Xiapi. Hao Meng's Rebellion In July or August 196, Lü Bu's subordinate Hao Meng rebelled against him and attacked his office in Xiapi. Lü Bu's general Gao Shun suppressed the rebellion with help from Cao Xing – Hao Meng's subordinate, who refused to betray Lü Bu – and killed Hao Meng. Later that year, Lü Bu used his archery skill to prevent a battle between Liu Bei and Yuan Shu's general Ji Ling from taking place. He had a ji erected at the gate of the camp, and proposed, "Gentlemen, watch me fire an arrow at the lower part of the curved blade on the ji. If I hit it in one shot, all of you must withdraw your forces and leave. If I don't, you can remain here and prepare for battle." He then raised his bow and fired an arrow at the ji, hitting exactly the