After returning to Pei County, the townsfolk wanted Liu Bang to lead them to overthrow the Qin dynasty. However, Liu Bang expressed reluctance in taking up the leadership position and the people agreed to decide their leader by luck. Xiao He was in charge of the process and he had the names of ten respectable men in town, including Liu Bang, written on separate pieces of paper and shuffled. Xiao He then asked Liu Bang to pick any piece from the pile, without seeing the name on it, and Liu picked his own name by chance. Liu Bang looked at Xiao He and wanted to decline again. Xiao He immediately grabbed the remaining pieces of paper, put them into his mouth and chewed them to shreds, after which he proclaimed Liu Bang as their leader. Liu Bang became known as the "Duke of Pei" and built his rebel army in Pei County, with Xiao He and his friends supporting him. Liu Bang learnt from Xiao He later that actually all the ten pieces of paper contained his name, and Xiao had deliberately tampered with the system to help him.