#28 850 · Guangzhou's Fanfang (蕃坊) Foreign Quarter · Maritime trade and governanceenter-their-reality
Tang China let Arab merchants judge their own disputes so they'd keep the ships coming
the problem
Foreign traders' customs and law clashed with the host port's own
background
A port that wants foreign trade needs foreign traders to actually stay, and staying means living under some legal order. Impose the host country's law wholesale and merchants unfamiliar with its procedures, language, and assumptions will take their ships to a port that asks less of them; leave them entirely unregulated and disputes go unresolved, trust erodes, and the state collects nothing from a community it can't govern at all.
Tang and Song China split the difference by geography and jurisdiction rather than by law alone. Foreign merchant communities in Guangzhou and other ports lived in a designated quarter and settled their own internal, community-level disputes under a recognized headman applying their own customs — a system the merchants' own accounts describe as fair and rarely contested — while remaining answerable to Chinese authority for serious crimes and anything that touched the wider city.
the move
Tang-dynasty Guangzhou hosted a large resident community of Arab and Persian merchants whose commercial disputes, inheritance customs, and even prayer leadership needed resolving in ways Chinese law didn't anticipate — and forcing full submission to an unfamiliar legal system risked driving lucrative trade to friendlier ports. Rather than choose between full assimilation or no oversight at all, authorities let the community self-govern in its own quarter under a merchant-recognized headman, the fanzhang, who settled internal disputes according to the merchants' own customs, while the state retained jurisdiction over serious crimes and all dealings that crossed community lines.
the payoff
A 10th-century Arab merchant's own account (Abu Zayd al-Sirafi's Akhbar al-Sin wa'l-Hind) describes a Muslim official in Canton appointed by the Chinese ruler to judge disputes among Muslim merchants by Islamic law, adding that the merchants "never disputed" his rulings. The arrangement helped sustain a maritime trade so valuable that by the late Song dynasty, customs duties from it reportedly reached roughly a fifth of total state revenue — though the grant was never a fixed right: an 836 prefect forced a stricter, more segregated version of the same quarter, showing the autonomy was administrative goodwill, revocable at any time.
what came after
The fanfang arrangement is now studied by historians alongside medieval Europe's lex mercatoria (the Law Merchant) as one of history's earliest recurring answers to the same problem — how to let a legal outsider trade profitably inside your borders without either side abandoning its own rules — a pattern that resurfaces today in special economic zones and international commercial arbitration.
filed under
references
- [1]The Muslim Merchants of Premodern China: The History of a Maritime Asian Trade Diaspora, 750-1400Cambridge University Press, 2018cambridge.org
- [2]Abu Zayd al-SirafiWikipedia, 2026en.wikipedia.org