Tang clan migrated from the area north of the border of the modern day Hong Kong to the modern day the New Territories of Hong Kong in the Song dynasty of China. A branch of Tang clan was split from Lung Yeuk Tau of the modern day the New Territories, to establish the village in Tai Po Tau. The Tai Po Tau branch and Lung Yeuk Tau branch also founded the first Tai Po Hui the market town (also known as Tai Po Tau Hui), despite it is now defunct and the area now known as Tai Po Old Market. The area around the first market town, also lived other people that were not from the Tang clan. They formed an inter-villages alliance (literally "Tai Po Seven Alliances"; each alliance contained one or more villages). The inter-villages alliance founded another market town Tai Wo Shi (literally "Tai Wo market") after the Qing government ruled that Tai Po Hui (Tai Po Tau Hui) was belonged to Tangs, other clans cannot open shops in Tang's market town. However, Tai Wo Shi replaced the original Tai Po Hui (Tai Po Tau Hui) as the main market, and took the name Tai Po Hui (anglicized as Tai Po Market). The old market town thus became Tai Po Kau Hui (anglicized as Tai Po Old Market; ).