Breaking the Ward Walls: The End of the Tang Urban Order and the Rise of the Open Song City
If you could stand on the Bian River’s stone bridge in Kaifeng at nine on a crisp October evening in 1107, the first thing you’d notice is that there is no wall between you and the steaming lamb soup stall across the street. No locked ward gate to fumble with, no guard shouting curfew warnings, no sign barring you from entering the residential lane behind the stall to buy a jar of honey for your family. The stall owner’s young apprentice is ringing a bronze bell to call customers, his voice mixing with the storyteller two stalls down reciting the latest tales of the Yang Family generals, and the faint jingle of a Persian merchant’s camel bell drifting from the nearby foreign trade quarter a few blocks away. This is not a fantasy scene: it is the everyday reality of the world’s first modern metropolis, a city that shattered the rigid urban order of the Tang dynasty and rewrote the rules of how cities could work for the next 800 years.
For much of the 20th century, Western and East Asian scholars alike operated under a quiet, unexamined assumption: Song cities were just scaled-up versions of Tang administrative hubs, retaining the same closed ward (fang) system, strict separation of residential and commercial zones, and night trading bans that defined Tang capitals like Chang’an and Luoyang. This assumption was rooted in a narrow reading of official dynastic histories, which retained formal references to “wards” in Song urban administration, and a tendency to frame the Tang as the peak of pre-modern Chinese urban planning, with the Song cast as a period of decline and decentralization. But new archaeological data from Kaifeng’s outer city and Hangzhou’s Lin’an district, paired with translated passages from the *Dream Pool Essays* (Mengxi Bitan) and the *History of Song* (Song Shi), tells a very different story. The Tang’s fangzhi (ward system) did not collapse overnight in a violent revolution: it was dismantled quietly, policy by policy, by Song emperors from Taizu to Huizong, driven by the unstoppable force of surging commercial activity and a population boom that turned Kaifeng into a 1.5-million-person megalopolis with no formal barriers between home and market. This was not a planned urban design choice: it was a pragmatic adaptation to economic reality that would define Song city life for 300 years, and lay the groundwork for the commercial, innovative, and civic culture that made the Song dynasty the most advanced civilization on earth in its time.
To understand how revolutionary this shift was, we first have to understand what the Tang ward system actually was—and what it was designed to do. The fangzhi was not a neutral urban planning framework: it was a core tool of social control for the Tang, a dynasty founded by the Guanzhong military aristocracy, which relied on strict household registration and spatial segregation to maintain power over a population that included large numbers of displaced migrants, war captives, and non-Han ethnic groups. Under the system, every city was divided into a grid of rectangular, walled wards, each surrounded by a 3-meter-high brick wall, with a single gate that locked at dusk and opened at dawn. Ward boundaries were not just physical barriers: they were administrative units, with each ward headed by a low-level official responsible for collecting taxes, registering births and deaths, and enforcing curfew rules. Residents could not leave their ward after dark without a special travel permit (known as a *guosuo*), and anyone caught outside after curfew faced flogging or forced labor.
Commercial activity was restricted to a small number of designated “markets” (shi) located on the north and south sides of Tang capitals, each surrounded by its own wall and managed by a government-appointed market director (shiling). These markets operated on a strict schedule: bells rang at noon to open the market, and bells rang again at sunset to close it, with no exceptions. All merchants had to register with the market director, set prices were enforced for staple goods, and all transactions were subject to a 5% transaction tax collected by government officials. Even the location of shops was strictly regulated: only certain types of merchants were allowed to sell certain goods, and no merchant could operate outside the official market walls. For most Tang residents, buying daily necessities meant a 30-minute walk to the nearest market, and any shopping after dark was impossible.
This system was never as rigid in practice as official laws suggested, especially during the late Tang, when repeated rebellions and the collapse of central government control eroded the state’s ability to enforce spatial rules. The Huang Chao Rebellion of 875–884, which saw rebel forces sack Chang’
The Huang Chao Rebellion of 875–884, which saw rebel forces sack Chang’an and burn the Tang capital to the ground, left the central government so weakened that it could no longer enforce the fangzhi across most of the empire. For the next half-century, as warlords carved out independent kingdoms across the Yellow River valley, the walled ward system became a casualty of neglect: residents in besieged cities like Luoyang and Kaifeng (then called Bianzhou) tore down ward walls to expand arable land for food production, while merchants in unregulated border towns set up stalls along main roads with no market officials to stop them. By the time the Later Liang general Zhu Wen captured Bianzhou in 907 and made it the capital of his new dynasty, the city had no remaining ward walls, and its main commercial street, the Bian River wharf, was lined with permanent shops operating from dawn to dusk with no official market director to oversee them. This was not a deliberate policy choice: it was a pragmatic response to survival, as the collapse of central authority made the Tang’s rigid spatial rules impossible to enforce.
> 💡 电子版侧边栏:晚唐五代开封坊墙消失的考古证据可点击[此处](https://example.com/late-tang-kaifeng-archaeology)查看开封市文物考古研究所2021年发布的发掘报告,包含五代时期沿街店铺的出土遗物高清图片。
The five dynasties that ruled north China between 907 and 960 did not attempt to restore the Tang fangzhi, for the simple reason that their power depended on the support of the same merchant and military elites who had benefited from the breakdown of spatial controls. The Later Tang, Later Jin, and Later Han all retained Bianzhou as their capital, and each expanded the city’s outer walls to accommodate a growing population of merchants, artisans, and displaced migrants fleeing war in the north. By the time the Later Zhou dynasty’s emperor Shizong launched a major expansion of Bianzhou’s outer city walls in 955, the city’s population had already reached 500,000, with no formal barriers between residential neighborhoods and commercial districts. Shizong’s decision to expand the outer city was explicitly tied to commercial growth: he ordered the construction of new market streets along the Bian River to accommodate the influx of merchants from the Yangtze River valley, who were bringing rice, tea, and silk to sell to the northern military elite. This was the first official acknowledgment that the Tang ward system was obsolete: the Later Zhou government did not rebuild ward walls inside the new outer city, and it allowed merchants to set up permanent shops along the city’s main thoroughfares, rather than restricting them to enclosed market districts.
When the Song dynasty’s founder, Emperor Taizu, seized power in 960, he inherited a capital city that already operated outside the Tang’s urban rules. Taizu and his successors did not set out to dismantle the fangzhi as a matter of ideological principle: they were pragmatic administrators who prioritized tax revenue, social stability, and the needs of a rapidly growing population over adherence to Tang-era planning norms. The abolition of the ward system was a gradual, policy-driven process that unfolded over 150 years, with each emperor relaxing spatial controls