
China: From Closed Empire to the World's Factory
In 1793 Emperor Qianlong wrote to the king of England that China needed nothing from the outside world. Forty-seven years later the British were shelling its coast. Episode 51: from opium to Shenzhen.
In 1793 a British delegation arrived in Beijing with six hundred crates of gifts: precision clocks, telescopes, a globe, state-of-the-art cannon, and a hot-air balloon complete with a pilot willing to go up and entertain the court. The mission had a precise commercial aim. Britain wanted Chinese ports opened, a permanent ambassador installed in Beijing, and access to the largest market on earth for its manufactures.
The Qianlong Emperor received the head of the delegation and then sent a letter to King George the Third. It is one of the most quoted documents in diplomatic history, and its content fits in a few lines: we lack nothing, we have no need of your country's manufactures, and if we permit trade at Canton it is as an act of benevolence toward foreigners.
Forty-seven years later those same British were shelling the Chinese coast from steamships.
> Less than half a century separates those two scenes. Thirty-seven years of nearly continuous war separate the fall of the dynasty from the proclamation of the People's Republic. And exactly four decades separate a cluster of fishing villages called Shenzhen from a city of seventeen million.
What follows is how the richest and most populous empire in the world came apart over a century, and how it then became the manufacturing centre of the planet in forty years. It is the largest and fastest economic transformation any country has undergone in recorded history.
The country that needed nothing
Start with the scale. At the end of the eighteenth century China produced roughly a third of everything manufactured in the world. It had some three hundred million inhabitants. And it had a state bureaucracy recruited by competitive examination, a mechanism Europe did not yet possess.
The internal history of that empire, its dynasties and its machinery, deserves separate treatment and gets it. What matters here is the commercial position.
Europe bought Chinese tea in enormous quantities, along with silk and porcelain. China bought almost nothing in return. The result was a structural imbalance: silver mined in the Americas ended up flowing into China and staying there. No European power could sustain that drain indefinitely.
The British spent decades looking for a product the Chinese would buy. They found one, and it was opium.
The East India Company grew it in Bengal and placed it on the Chinese coast through private intermediaries, which kept its own hands formally clean. The substance had been illegal in China for years. The trade grew anyway, and fast. By 1830 the silver flow had reversed: it was now leaving the country.
> This is the part usually told badly. The Opium Wars were not a conflict about free trade in the abstract. They were the armed defence of an illegal business, and some in Britain said so at the time: a young member of parliament named William Gladstone told the Commons he had never known a war of more unjust origin. He lost the vote by nine.
The Opium Wars
In 1839 the emperor sent an official with a reputation for incorruptibility to Canton. His name was Lin Zexu, and his assignment was to end the smuggling.
Lin did two things. He wrote a letter to Queen Victoria asking how she could allow her subjects to sell abroad a substance banned in her own territory; the letter probably never reached her. And he confiscated some eleven hundred tons of opium and destroyed it publicly, mixing it with lime and seawater in open pits on the beach, in an operation that took weeks.
The British response was a fleet. The First Opium War ran from 1839 to 1842 and was lopsided from day one. The Chinese had wooden junks and fixed artillery in coastal forts. The British had, among other things, a flat-bottomed iron paddle steamer that could push up shallow rivers against the current and fire from positions nothing could reach. It was called the Nemesis, and the Chinese nicknamed it the devil ship.
The Treaty of Nanking, signed in 1842, opened five ports to foreign trade, imposed a massive indemnity, and handed over a rocky, nearly uninhabited island called Hong Kong.
A second war followed between 1856 and 1860, with France as a partner. It ended with European troops entering Beijing and looting and burning the Summer Palace, a complex of gardens and pavilions that had taken more than a century to build. The ruins remain where they fell: the Chinese government deliberately chose not to rebuild them.
Those two wars were followed by a long list of agreements known in China as the unequal treaties. They ceded territory, fixed tariffs the Chinese government itself could not alter, and established that a foreigner accused of a crime would be tried by his own country's courts rather than local ones. Cities like Shanghai were carved into concessions administered by foreign powers.
In China the whole period is called the century of humiliation. It is not a label applied by foreign historians: it is the term the Chinese state uses, and it is one of the keys to understanding its foreign policy today.
A century falling apart
What came next was worse, and it did not come from outside.
Between 1850 and 1864 the Taiping Rebellion broke out, led by a rural schoolteacher who had failed the imperial examinations several times. His name was Hong Xiuquan. After a nervous breakdown he became convinced he was the younger brother of Jesus Christ, charged with founding a heavenly kingdom on earth.
He raised an army, took Nanjing, and governed an enormous stretch of the south for more than a decade. The war left between twenty and thirty million dead. It is by a wide margin the bloodiest civil war in history, and it happened at the same time as the American Civil War, which killed some six hundred thousand.
The empire survived that, but not much more. It lost a war to Japan in 1895 that ended with Taiwan in Japanese hands. In 1900 it faced an anti-foreign uprising, the Boxer Rebellion, crushed by a joint force of eight nations that occupied Beijing once again.
In 1911 the dynasty fell. In February 1912 the last emperor abdicated: Puyi, aged six, whose life Bernardo Bertolucci brought to the screen in 1987 in a film that won nine Academy Awards.
What followed was not an orderly republic but nearly forty years of chaos: warlords carving up provinces, a Japanese invasion from 1937 with atrocities such as the Nanjing massacre, and a civil war between nationalists and communists suspended to fight Japan and resumed the moment the world war ended.
On October 1, 1949, from the Gate of Heavenly Peace in Beijing, Mao Zedong proclaimed the People's Republic of China. The nationalists withdrew to Taiwan, where one of the world's most delicate conflicts remains open.
An aside on Hong Kong
It is worth pausing on that rocky island from the 1842 treaty, because its history explains much of what came later.
Hong Kong passed under British administration. Over the years the peninsula opposite was added and, in 1898, a larger territory leased for ninety-nine years. That lease is what eventually fixed the departure date.
Through the twentieth century the colony filled with refugees fleeing first the wars and then the communist regime. With a free port, low taxes and predictable courts, it became one of the world's financial centres.
In 1997 it returned to China under the formula of one country, two systems. And it played a decisive role in the economic opening: much of the capital, the commercial contacts and the industrial know-how that entered the first mainland factories came through it.
Mao and the lost years
China reached 1949 with a century of war behind it, its industry destroyed and a population that was overwhelmingly rural and illiterate.
The first years brought concrete, measurable improvements: life expectancy rose, illiteracy fell, land was redistributed. Then came the rest.
In 1958 Mao launched the Great Leap Forward. The stated aim was to match British steel output within fifteen years and convert an agrarian country into an industrial one in a single move. The countryside was reorganised into vast communes. Backyard furnaces were built to smelt metal, and people handed over tools and cooking pots to feed them. The steel those furnaces produced was useless.
There was also a campaign against the four pests, one of which was the sparrow, accused of eating grain. Millions of people went out banging pots to stop birds from landing until they dropped from exhaustion. It worked. The following year locusts, now without a predator, destroyed the crops.
> There is an administrative mechanism that explains why the disaster grew so large. A local official who reported a poor harvest was marked as insufficiently revolutionary; reporting an extraordinary harvest brought congratulations. So everyone reported extraordinary harvests. The state calculated compulsory grain deliveries to the cities on those inflated figures and took from the countryside a share of the crop that simply did not exist. The famine was not an effect of the weather. It was an effect of the bookkeeping.
Estimates of famine deaths range from fifteen to forty-five million depending on the methodology. It is probably the worst famine recorded anywhere.
In 1966 Mao launched the Cultural Revolution. He mobilised students organised into Red Guards against what he called the four olds: old ideas, old culture, old customs, old habits. Temples, libraries and art collections were destroyed. Teachers and officials were publicly humiliated, sent to the countryside, or killed. Universities closed for years.
One political casualty of that purge was a veteran party leader sent to work in a tractor factory in an inland province. His eldest son was permanently disabled after falling from a window during an interrogation. That leader was Deng Xiaoping, and he is the man who changed the country.
Eighteen fingerprints on a sheet of paper
Mao died in September 1976. A month later the faction that had run the Cultural Revolution was arrested.
In November 1978, in a poor village in Anhui province, something happened that made no newspaper.
The village was called Xiaogang. It had about twenty families and lived under the commune system: everyone worked the land collectively and shared the output. The output was meagre, and in several years villagers had ended up begging for food outside the village.
One night eighteen farmers gathered in a house and signed a secret document. They agreed to divide the land into family plots: each household would deliver its quota to the state and keep the surplus. Since this was illegal and could cost them their lives, they added a clause. If any of them were executed or imprisoned, the others undertook to raise his children to the age of eighteen.
They signed with fingerprints, because several could not write.
The next year's harvest exceeded the previous five years combined. The secret leaked and reached the top of the party. Instead of punishing the signatories, the regime ended up turning the arrangement into national policy. The document now sits in a museum.
Crossing the river by feeling the stones
In December 1978 the party approved the turn. Deng did not hold the top post, but he held effective control.
His method was not a master plan but the precise opposite, and he summed it up himself: crossing the river by feeling the stones. A measure was tried in a limited place, the result was observed, and only then was it extended.
He had another line that is quoted even more often: it does not matter whether the cat is black or white as long as it catches mice. It was a way of saying that a policy's ideological label mattered less than its performance.
In 1980 the first special economic zones were created. The main one was Shenzhen, a cluster of fishing villages across from Hong Kong, where foreign investment, private ownership of firms and labour rules different from the rest of the country were permitted. Shenzhen had around thirty thousand inhabitants. Today it has more than seventeen million.
The sequence went roughly like this. First, cheap and abundant labour assembling simple products. Then more complex factories with foreign capital and technology transfer as a condition of entry. Later, Chinese firms of their own competing in the same sectors and, in several cases, displacing their former partners.
There was a serious political halt in 1989 with the crackdown in Tiananmen Square. Economic reform was suspended and the party's conservative wing gained ground. Deng was eighty-seven and retired from his posts when, in 1992, he toured the south speaking publicly in favour of deepening the opening. That trip broke the internal deadlock and relaunched the process.
There is also a part of the reform that gets told rarely and was brutal. Through the 1990s the government restructured state-owned enterprises, which employed tens of millions of people with wages, housing and health care guaranteed for life. The package was known as the iron rice bowl, because it could not be broken. It broke: between 1995 and 2002 some thirty million industrial workers lost their jobs.
The day the door opened
The decisive leap has an exact date: December 11, 2001, when China joined the World Trade Organization.
Membership meant low tariffs in almost every market and, above all, stable rules. For an American or European company, moving production to China stopped being a gamble and became an accounting decision.
The numbers are blunt. In 2001 China accounted for roughly seven percent of world manufacturing output; two decades later it is around thirty percent, more than the United States, Japan and Germany combined.
> That figure needs qualifying, because it invites confusion. It measures manufacturing value added, not quantities of objects, and in specific sectors the share is far higher. In solar panels, lithium batteries, steel, air conditioners and laptops, China produces more than half the world total. This is not a country that makes a little of everything: it is the only supplier at scale of several things, which turns a commercial matter into a strategic one.
One logistical factor made all of it possible: the standard shipping container, the metal box that lets goods move from ship to truck without being touched or counted. That story is large enough to deserve its own telling.
And there was a social cost worth stating plainly. Hundreds of millions of people moved from the countryside to the cities in the largest internal migration in history, working very long hours in factories whose conditions were, for years, extremely hard. At the same time â and both facts are true simultaneously â extreme poverty in China went from affecting most of the population to being marginal.
The object that sums up the model
One product explains the arrangement better than any statistic. The back of the early iPhone carried a line of text: designed by Apple in California, assembled in China. That sentence is the whole model in one line. Design, brand, software and most of the margin stayed on one side of the Pacific; assembly went to the other, in plants with hundreds of thousands of employees and entire cities organised around a single production line.
> For years it was said that China got the cheap end of the business, and at the time that was true. What changed is what comes after assembly. A plant that builds phones for twenty years accumulates suppliers, engineers, technicians and a network of workshops able to make any component in days. That industrial density cannot be bought with a subsidy or improvised: it is why moving a factory out of China proved far harder in practice than it looked on a spreadsheet.
And there is a city that symbolises the other end of the trade. It is called Yiwu, sits about three hours from Shanghai, and holds a wholesale market of several square kilometres selling the world's small things: buckles, keyrings, tinsel, plastic toys, Christmas decorations. Walking the whole of it, pausing a few seconds at each stall, would take more than a year.
Tea and the map of the trade routes
There is a detail hidden in any teacup.
There are basically two ways of saying tea in the world. One family says té, tea, thé, tee. The other says chai, cha, chay. The difference is not accidental: it depends on the route by which the product arrived.
In southern China, in Fujian province, the leaf was called te. Dutch and Portuguese merchants bought it there and carried it by sea to western Europe, which gives English tea, French thé, Spanish té. Everywhere else in China it was cha, and that word travelled overland along the caravan routes into Central Asia, Persia, Turkey and Russia. Hence chai.
Looking at a map of how each country says tea, you can reconstruct which trade route reached it first. And there is an Argentine footnote: Argentina says té, but names its mate with a Guaranà word.
What remains
An empire that believed itself self-sufficient refused to trade on equal terms. It lost two wars to powers with better military technology and signed treaties surrendering territory and judicial sovereignty. It tore itself apart in a civil war with thirty million dead. It spent forty years in chaos and thirty more under a project that produced the worst famine on record. Then it changed strategy and became the planet's workshop in four decades.
The consequences are everywhere. The prices of much of what we buy depend on Chinese industrial capacity. Global supply chains are built around those factories, as became painfully clear during the pandemic. And technological competition between China and the United States is now the central axis of international politics.
There is a visible Argentine chapter: China is one of the main buyers of Argentine soy and beef. And a more everyday one, the neighbourhood supermarkets known in Argentina simply as "el chino", a network built largely by migrants from Fujian â the same province behind the word tea â from the 1980s and 1990s onward.
The problems remain too. The population has begun to age and shrink, partly because of the one-child policy in force between 1979 and 2015. The property sector carries enormous debt. And wages have risen enough that factories are relocating to Vietnam, Bangladesh and India, which is exactly what China did to others forty years ago.
> Qianlong's letter remains the best summary of how this story began. An emperor wrote to the king of England that his country needed nothing from the outside world, and by the numbers of his own time he was right: he was producing a third of the planet's manufactures. He was wrong about the only thing that mattered, which was not the size of his economy but the speed at which the rest of the world was changing. Two centuries later, the country that learned that lesson at the highest price is the one watching that speed more closely than anybody.
Related episodes

On 31 December 1999, Russian and American officers shared a room in Colorado watching missile alerts, afraid a date error would fake a launch. Then almost nothing happened, and that is where the argument starts. Episode 53 of History in 20 Minutes.

A Soviet researcher built it in his spare time out of bracket characters, because his computer showed no graphics. Twelve years on it was the best-selling game on earth and he had not been paid a cent. Episode 52 of History in 20 Minutes.

On January 16, 1979 the shah left Tehran with a small box of Iranian soil and the papers ran two words: the shah has gone. Episode 50: the oil, the 1953 coup, the cassette tapes, and how the Islamic Republic was born.