Pei County
In 209 BC, several rebellions broke out throughout China to overthrow the Qin dynasty. When Liu Bang also started a rebellion in Pei County, Xiahou Ying joined him and assisted him in seizing control of their home county. Liu Bang then gave himself the title "Duke of Pei" (), and made Xiahou Ying a seventh-grade official () and appointed him as his personal carriage driver.