Tings were the primate organizations of the police stations in the Qin and Han Dynasty. It originated from the military defense systems of Pre-Qin, it was called "bing ting" or "sui ting". After Shang Yang's political reforms, Qin Shi Huang established prefecture county systems, and police stations expanded their functions. The ancient ting's were military camps, horse stations, and police stations. In the Qin Dynasty, the ting's function had transformed into police service. The Qin and Han dynasty still kept tings' functions as before. The ting was managed by the county, but the ting played an important role on launching publicity campaigns and protecting public security. In the Qin and Han dynasty, ten tings for one village and ten kilometers for one ting. These were the reasonable figures. Not all tings followed these rules, it should depend on geographic situation and the circumstance of public security. How far should it build? The government should take the distance into account. The tings were not only the important organizations to maintain public security, but also the landmark of the county. Tings also provided accommodation for the government officers; helping deliver mails; and mediating villagers' disputes and launching political campaigns. Although ting was established in the village, but police officers' training was performed by the army. The village government took charge of recruiting new officers, but they were supervised by the county government and trained by the county's army.