Shanghai Before the Treaties: A Southern Jiangsu Market Town
The Remaking of Shanghai
第一章:条约之前的上海:一个江南市镇
Shanghai's emergence as a global city did not begin with the Opium Wars or the Treaty of Nanking in 1842. The transformation that would reshape this modest Jiangnan market town into one of the world's great commercial capitals had roots stretching back centuries, embedded in the geographical advantages, economic structures, and social dynamics that characterized the lower Yangzi delta long before the first British gunboats appeared on the Huangpu River. To understand the magnitude of Shanghai's later metamorphosis, one must first comprehend what existed before the treaties—a city, or more precisely, a county town, that possessed certain inherent strengths that would prove decisive in attracting foreign interest and investment, yet remained fundamentally embedded within traditional Chinese urban hierarchies and economic networks. This chapter examines Shanghai in its pre-treaty incarnation, tracing the geographical, economic, administrative, and social factors that made this particular Jiangnan town a candidate for transformation while many other similarly situated market centers stagnated or declined.
The geographical setting of Shanghai cannot be overstated as a factor in its subsequent development. Located at the mouth of the Yangzi River, at the precise point where the Huangpu River flows into the broader Yangzi estuary, Shanghai possessed natural advantages for waterborne transportation that few other locations in the region could match. The city sat astride the primary waterway connecting the rich agricultural and industrial hinterland of the Jiangnan region with the open sea, creating a natural entrepôt position that would prove crucial in later centuries. Yet these geographical advantages did not operate in isolation; they were activated and amplified by human decisions, economic pressures, and institutional arrangements that channeled trade and population through Shanghai rather than through competing locations. Understanding this interaction between geography and human agency provides the foundation for comprehending Shanghai's pre-treaty development and its eventual transformation.
上海的起源:宋代的奠基
The history of settled habitation in the Shanghai area extends deep into antiquity, with archaeological evidence suggesting continuous human presence in the region for several thousand years. However, the emergence of a recognizable urban settlement that could serve as the precursor to the later city occurred during the Song Dynasty, specifically during the Southern Song period (1127-1279). The name "Shanghai" itself—literally "above the sea"—first appears in historical records during this period, reflecting the settlement's geographical relationship to the coastline and its position relative to other regional centers. The naming convention itself was characteristic of Song administrative practice, as the Song government frequently designated administrative centers with names reflecting their geographical position or function within regional systems.
The founding of Shanghai as a administrative and commercial center was intimately connected with the dramatic geopolitical changes that reshaped China during the Song-Ming transition. The Jurchen Jin Dynasty's conquest of northern China in 1127 forced the Song court to relocate to the south, establishing what became known as the Southern Song Dynasty with its capital at Hangzhou. This relocation of the imperial court and the associated migration of population, wealth, and administrative resources fundamentally reoriented the economic gravity of China southward, intensifying development in the Yangzi River delta and creating new opportunities for commercial towns along the coastal regions. Shanghai, positioned at the interface between the productive Jiangnan interior and maritime trade routes, benefited significantly from this geopolitical shift.
During the Southern Song period, Shanghai functioned primarily as a defense and customs station rather than a major commercial city. The Song government established a customs office at Shanghai to manage the collection of trade taxes and to regulate maritime commerce along the coast. This administrative designation brought a certain degree of official recognition and resources to the settlement, but the town's commercial importance remained secondary to nearby cities such as Hangzhou, Suzhou, and Yangzhou. The settlement's population was modest, concentrated in what would later become the Old City area, and the urban infrastructure remained relatively simple. Wooden structures housed the customs officials and the small permanent population, while the surrounding landscape consisted of rice paddies, fishing villages, and the extensive network of waterways that characterized the Jiangnan countryside.
The Mongol conquest of the Southern Song in 1279 and the establishment of the Yuan Dynasty brought new dynamics to the Shanghai region. The Mongol rulers, themselves hailing from steppe economies with extensive experience in overland and maritime trade, generally supported commercial expansion and maintained the customs infrastructure that the Song had established. Under Yuan patronage, Shanghai grew in commercial significance, and by the late Yuan period, the settlement had acquired enough importance to warrant elevation to county (xian) status. This administrative promotion reflected the actual growth of the town and its surrounding hinterland, suggesting that by the early fourteenth century, Shanghai had developed sufficient economic vitality and population to warrant formal county-level governance.
明清发展:从县治到区域市场中心
The transition from Yuan to Ming Dynasty in 1368 marked a significant turning point in Shanghai's development trajectory. The Ming government's general hostility toward maritime commerce, manifested in the famous maritime prohibitions (haijin) that restricted foreign trade, had complex effects on different coastal settlements. For some ports, the prohibitions spelled decline and commercial contraction. For Shanghai, the effects were more ambiguous, as the town's position within the domestic trade network of the Jiangnan region provided alternative commercial opportunities that partially compensated for the restrictions on maritime trade. The Ming period witnessed Shanghai's consolidation as a county seat and the development of the administrative and commercial infrastructure that would characterize the town through the Qing Dynasty and into the treaty era.
The administrative structure of Shanghai during the Ming and Qing periods followed the standard pattern of Chinese county governance that had been established during the Tang and Song dynasties and remained largely unchanged through the imperial period. Each county was headed by a magistrate (zhixian) appointed by the imperial bureaucracy, typically serving for a term of three years before rotation to another posting. The magistrate held comprehensive authority over the county, responsible for tax collection, judicial administration, public security, religious affairs, and the maintenance of public infrastructure. Supporting the magistrate was a small cadre of assistant officials, clerks, and runners who handled the day-to-day administrative work of the county seat.
Shanghai's administrative geography evolved during the Ming Dynasty with the establishment of a county wall and the formal delineation of the Old City. The construction of city walls was a standard feature of Chinese urban development, serving both defensive and symbolic functions while also representing the settlement's aspiration to full urban status. Shanghai's wall, constructed during the Ming period, enclosed an area of approximately two square kilometers, encompassing what would remain the historic core of the city through the nineteenth century. The wall, pierced by several gates, defined the boundary between the officially recognized urban space and the surrounding co