The Spatial Architecture of Power: Capitals, Administrative Cities, and the Erosion of the Fangshi System
The spatial reorganization of Song cities marks a decisive rupture with the rigid urban morphology of the Tang dynasty, replacing the enclosed, administratively segmented *fangshi* ( ward ) system with a fluid, commercially渗透的 landscape that became the physical substrate for unprecedented economic dynamism and cultural flourishing. This transformation was not merely an organic evolution but a deliberate, albeit incremental, relaxation of spatial controls by the state—a strategic recalibration where the imperatives of revenue generation, commercial regulation, and social management gradually superseded the earlier emphasis on spatial segregation and defensive enclosure. The built environment of the Song, therefore, must be read as an active participant in history: the opening of city walls, the proliferation of markets beyond prescribed boundaries, and the emergence of new urban nuclei such as military garrisons (*zhen*) collectively engineered a geography of interaction that facilitated, rather than restricted, the circulation of goods, people, and ideas. Using a triangulation of sources—including contemporaneous city plans (such as the *Yingzao Fashi*), local gazetteers (*difangzhi*), and modern archaeological surveys—this chapter argues that the erosion of the *fangshi* system and the rise of a more permeable urban fabric were critical preconditions for the commercial revolution of the Song, creating a spatial architecture of power that was less about containment and more about channeling, a shift that reverberated through the very social and cultural fabric of the era.
The Tang dynasty bequeathed to the Song a well-defined, albeit increasingly strained, urban blueprint centered on the *fangshi* system. Originating in the Sui and early Tang, this model compartmentalized the capital and major cities into walled wards (*fang*) that served dual administrative and social control functions. Each *fang* was enclosed by gates that locked at night, enforcing a strict circadian rhythm of urban life: daytime commerce was confined to designated market districts (*shishi*), while residential areas were intended for habitation only, with severe penalties for violating the separation. The *Tang lü shu* (Tang Code) explicitly prohibited nighttime street vending and the construction of shops facing residential lanes, reflecting a worldview that equated spatial order with moral and political order. This system reached its apex in Chang’an, the Tang capital, whose grid plan—with its 108 walled wards, exclusive eastern and western markets, and clear zoning between administrative, residential, and commercial spheres—embodied a cosmic and bureaucratic ideal of controlled, hierarchical space. However, by the late Tang, this rigidity was fraying. Population pressure, the growth of urban handicraft industries, and the increasing economic importance of merchant guilds (*shanghuo*) created centrifugal forces that the *fangshi* walls could no longer contain. Archaeological evidence from cities like Yangzhou and Luoyang reveals encroachment: workshops and taverns spilling into residential lanes, markets extending beyond their official perimeters, and a gradual blurring of the ward boundaries that had once been so sharply drawn. The Huang Chao rebellion (875–884) and the subsequent political fragmentation delivered the final blows, physically destroying large sections of Chang’an and Luoyang and delegitimizing the centralized authority that had enforced the system. When the Song dynasty was established, it inherited not a pristine blueprint but a set of urban problems and opportunities that demanded a new spatial logic.
The Song response was one of pragmatic relaxation rather than formal abolition. The early Song court, preoccupied with consolidating power and rebuilding after the Five Dynasties period, lacked both the ideological commitment and the administrative capacity to reinstate the full rigor of the Tang *fangshi* model. Instead, it adopted a policy of *wuwei* (non-interference) in many aspects of daily urban spatial practice, a de facto liberalization that was later codified in subtle but significant legal modifications. The most crucial shift was the effective abandonment of the night curfew within city walls. While Tang regulations had mandated the closure of all city and ward gates at dusk, the Song permitted, and eventually regulated, nocturnal commerce. The *Song Huiyao* (Song Institutional Compendium) records the establishment of official “night market supervisors” (*ye shi*) in Bianliang, signaling state acceptance and taxation of after-dark economic activity. This single change dissolved the primary mechanism of spatial control, transforming streets from mere transit corridors into 24-hour social and economic spaces. Concurrently, the prohibition against shopfronts opening directly onto residential lanes was increasingly ignored and eventually fell into desuetude. The iconic *huaidian* (flower shops) and *jiudian* (wine shops) of Bianliang’s residential neighborhoods, vividly described in the *Dongjing Meng Hua Lu* (Dreams of Splendor of the Eastern Capital), were symptomatic of a new norm: commerce infiltrated every corner of the city. The state’s motivation was largely fiscal. The burgeoning commercial economy offered a lucrative new tax base—the *shuiyin* (commercial tax) and *yashui* (market stall tax)—that the cash-strapped Song government eagerly exploited. By allowing markets to proliferate where demand existed, the state could tax more transactions with minimal enforcement cost. This created a perverse incentive: the more fluid the urban space, the greater the potential revenue. Thus, the erosion of the *fangshi* system was not a naive liberalization but a calculated state strategy to harness commercial energy for imperial coffers, a clear instance where economic imperatives reshaped spatial governance.
Nowhere was this new spatial architecture more dramatically manifested than in the dual capital system of Bianliang (Kaifeng) and, later, Lin’an (Hangzhou). Bianliang, the Northern Song capital, was not planned as a wholly new grid like Chang’an but evolved from a regional center into a metropolis of perhaps over one million inhabitants. Its layout reflects a hybrid morphology: the inner core retained a walled palace city (*gongcheng*) and an administrative city (*huacheng*), echoing Tang precedents, but beyond these, the urban fabric exploded into a seemingly organic sprawl of densely packed neighborhoods (*li*) and specialized commercial districts. The city’s famous thoroughfares—such as the Imperial Avenue (*Zhongdu Dajie*) stretching south from the palace, and the east-west arteries like Xuanda Street and the Horse Market Street (*Maming Jie*)—were not mere processional routes but bustling commercial corridors lined with shops, restaurants, and entertainment venues. The *Dongjing Meng Hua Lu* catalogues over twenty major market streets, each with a specialty: the Gold and Silver Market, the Pearl and Jade Market, the Horse and Mule Market, the Medicine Market. This functional zoning was market-driven, not administratively decreed, and it spilled across the city’s three concentric walls—the palace, the inner city, and the outer wall—defying the Tang ideal of contained markets. Archaeological excavations in modern Kaifeng have uncovered extensive foundations of shop buildings with deep recessed entrances and storage cellars, confirming textual accounts of a retail-saturated environment. The city’s permeability was further enhanced by its riverine geography: the Bian River and the network of canals that connected it to the Grand Canal turned Bianliang into a floating warehouse, with docks and warehouses (*cangku*) lining the waterways, integrating water transport directly into the urban economic core. The state’s role here was one of regulation and extraction, not spatial design: it set tax rates, appointed market officials, and maintained the maj