Foot binding is an old Chinese custom of wrapping girls' feet with cloth in order to stop them from growing with age. Some Chinese legends say people started binding women's feet as early as the Shang dynasty (1700–1027 BCE). However, writing says that foot binding began at the court of the Song dynasty (960–1279 CE). It lasted until the early 20th century, when it was banned by the People's Republic of China.