Skip to content

6.19 — The Raj's Machinery: Railways, Law, English, the Census

In 1835 Thomas Babington Macaulay wrote a memorandum on Indian education. He argued that funding should go to English rather than Sanskrit and Arabic, and he supported the case with a sentence that has been quoted against him ever since: that a single shelf of a good European library was worth the whole native literature of India and Arabia.

He admitted in the same document that he had no knowledge of Sanskrit or Arabic.

He then stated the objective plainly: to form "a class of persons Indian in blood and colour, but English in tastes, in opinions, in morals, and in intellect" who would serve as interpreters between the rulers and the millions they governed.

The policy was adopted. The class was created. And within two generations that class was running the movement that ended British rule. That is the paradox this chapter is about, and it applies to nearly every institution the Raj built.

The framework: what each thing was for

The honest way to assess colonial institutions is to ask three questions of each: why was it built, who paid for it, and what did it actually do. The answers are frequently different, and it is the gap between them that matters.

Railways

Why built. Three stated purposes appear in the official record: moving raw cotton and other commodities from the interior to the ports for export; moving British manufactured goods inland; and moving troops quickly, a priority that became urgent after 1857.

Who paid. Indian revenue. The construction was financed by British investors under the guarantee system: the government of India guaranteed a return of around 5 percent on capital, paid out of Indian taxes, regardless of whether the line made money. This removed any incentive for the contractors to control costs, and Indian railways were built at costs per mile far above comparable lines elsewhere. When lines lost money, Indian taxpayers made up the difference to the shareholders.

What it did.

The route map is the evidence for the intent. Lines radiate from Bombay, Calcutta and Madras into the interior. Lateral connections between Indian regions were sparse. Freight rates were set so that moving raw material from an interior district to a port was cheaper per tonne-kilometre than moving finished goods between two Indian cities — which structurally favoured export of raw materials over internal Indian trade.

Equipment was bought in Britain, by policy, even after Indian workshops had demonstrated they could build locomotives. The Ajmer workshops built locomotives from 1895 and were not permitted to supply the network at scale.

Carriages were segregated by class in a way that mapped onto race, and Indian third-class travel conditions were the subject of repeated official complaint, including from Gandhi, who travelled third class deliberately.

And the network was genuinely transformative. It integrated markets, moved food to deficit regions — which had both good and bad effects, since it also allowed grain to be moved out of famine districts to higher-paying markets — enabled mass pilgrimage, and, most consequentially, made a nationwide political movement physically possible. Gandhi's tours, Congress sessions drawing delegates from every province, and the circulation of newspapers all ran on rails built to move cotton and troops.

65,000 kilometres at independence, and it is still the backbone of Indian transport.

Law

Why built. A predictable legal system was needed for commerce, for revenue collection and for governing.

What was built. The Indian Penal Code, drafted principally by Macaulay and enacted in 1860; the Code of Criminal Procedure; the Indian Evidence Act; the Indian Contract Act. These were more systematic than English law itself at the time — England had no criminal code — and they were exported from India to other British colonies.

What it did well. It created a single body of law applying across a subcontinent, replacing an inconsistent patchwork, with written rules, appeals, and precedent. Indians could and did use it, and the legal profession became the training ground of Indian nationalism — Gandhi, Nehru, Jinnah, Patel, Rajendra Prasad, Ambedkar and a very large proportion of the independence leadership were lawyers.

What it did badly, or deliberately.

Personal law was left to religion. Marriage, divorce, inheritance and adoption were governed by Hindu law for Hindus and Muslim law for Muslims, administered by British judges using texts selected and interpreted by British-appointed pandits and maulvis. This had two effects. It froze customary practice, which had been varied and local, into a rigid textual version. And it made religious identity a legal category determining a person's rights — a decision whose consequences run through Chapter 6.23 and are still argued about in India today.

Repressive law. Section 124A, the sedition provision, was inserted in 1870 and used against Tilak and Gandhi among many others. The Rowlatt Act of 1919 permitted detention without trial. The Criminal Tribes Act of 1871 designated entire communities as hereditary criminals, requiring them to register and report — an extraordinary piece of legislation that stigmatised millions of people and whose social effects persisted long after its repeal in 1952.

And Section 377, criminalising homosexual acts, drafted by Macaulay on Victorian moral grounds. It remained in Indian law until the Supreme Court read it down in 2018, more than half a century after Britain had repealed its own equivalent.

English

Why. Macaulay's memorandum, above: to produce clerks and intermediaries cheaply.

What it did.

It created a small English-educated professional class — lawyers, teachers, journalists, doctors, clerks — concentrated in the presidency cities, drawn heavily from particular communities that took to Western education early.

It gave Indians access to European political thought, which they used immediately. Indian nationalists quoted Burke, Mill, Bentham and the British constitutional tradition back at the British, and the demand for representative government was framed in the vocabulary of the rulers' own political philosophy. This is the most effective rhetorical position available and Indian leaders used it deliberately.

And it gave the movement a common language. India has no single indigenous link language across north and south. English was the language in which a Bengali, a Tamil and a Marathi nationalist could argue with each other, and it remains so.

The cost. Education spending was tiny — a fraction of a percent of national income — and mass primary education in Indian languages was neglected almost entirely, which is the direct cause of the 12 percent literacy rate at independence. Japan achieved near-universal primary education in the same period (Chapter 9.13), which shows what was possible for a country at a similar starting point that made a different choice.

The census

The decennial census began in 1871 and it is a genuine administrative achievement — enumerating hundreds of millions of people across a subcontinent, and a valuable historical record.

And it did something to Indian society that historians have argued about ever since.

The census required every person to be assigned to a religion and a caste. Enumerators had to place fluid, local, contextual identities into fixed national categories. Communities that had been distinguished by occupation, region, sect and custom were sorted into a hierarchy, counted, and published in tables.

The consequences were real. Caste associations formed to petition for reclassification at a higher rank in the next census — which means the census created an incentive to organise politically around caste identity. Religious communities became countable, comparable populations, and their relative numbers became a political fact.

The strong version of the argument — that the British invented caste — goes too far, and Chapter 6.2 and 6.6 showed that hereditary endogamous groups long predate colonial rule. The defensible version is that the census, the reservation of seats by community, and the codification of personal law by religion together hardened, standardised and politicised categories that had been more fluid and more local, and that they made religious and caste headcounts into the currency of Indian politics.

Separate electorates from 1909 — under which Muslims voted in separate constituencies for reserved seats — took this to its conclusion by making religious identity the basis of political representation. Chapter 6.23 traces where that led.

Social reform

This is the part of the record that resists a simple verdict.

Sati was abolished in 1829 by Governor-General Bentinck, after a campaign in which the Bengali reformer Ram Mohan Roy was central. It is important that this was not simply imposed: Indian reformers argued for it on the basis of Indian texts, and Indian conservatives argued against it on the same basis.

Widow remarriage was legalised in 1856, again after campaigning by Ishwar Chandra Vidyasagar.

Slavery was abolished in Company territory in 1843.

The age of consent was raised in 1891, against significant opposition including from Tilak, who objected to foreign legislation on Hindu social practice rather than to the reform itself — which shows how nationalism and social reform could pull in opposite directions.

Female infanticide was legislated against, with limited effect.

How to assess this fairly. These were real improvements and they were argued for by Indians. They were also selective: reforms that cost nothing and generated moral credit were undertaken; reforms that would have cost money — mass education, public health, land reform — were not. And after 1857 the British became markedly more cautious about social intervention, precisely because they had concluded that interference in religion caused rebellions. So the reforming impulse largely stopped when it became inconvenient.

Public health and famine administration

Public health spending was minimal. Sanitation and water supply were provided in cantonments and European quarters and largely not elsewhere. Plague, cholera and malaria killed on an enormous scale — the plague pandemic from 1896 killed millions in India — and the response included coercive measures such as forced hospitalisation and house searches that provoked serious resistance.

Vaccination against smallpox was pursued and was a genuine public health success where it reached.

The Famine Codes after 1880 did substantially improve relief practice (Chapter 6.17), and famine mortality in the twentieth century before 1943 was lower than in the nineteenth.

The Indian Civil Service

The "steel frame", as it was called. A few thousand officials administering hundreds of millions.

Recruitment was by open competitive examination from 1855 — a genuinely meritocratic principle, adopted in Britain partly in admiration of the Chinese system (Chapter 5.6).

And the examination was held in London only, until 1922, with an age limit that made it nearly impossible for an Indian to prepare and travel and compete. Satyendranath Tagore became the first Indian to enter in 1864; the numbers remained tiny for decades. When examinations were finally held in India, Indian entry rose sharply, which demonstrates that the obstacle had been the arrangement rather than the ability.

The service was efficient, largely honest by contemporary standards, and utterly unaccountable to the people it governed. Its officers had enormous discretionary power as district collectors and magistrates. Independent India kept the structure and renamed it the Indian Administrative Service, and the district collector remains the central figure of Indian local administration — which is a substantial inheritance to have kept.

The paradox

Every instrument in this chapter was built to rule India, and every one of them was used to end that rule.

The railways carried the national movement. The English education produced its leaders and its shared language. The legal system taught them the arguments and gave them a profession that funded their politics. The press, which the British permitted and periodically restricted, carried the message. The census gave them a nation to count. And the civil service gave independent India an administration on day one.

This is not a defence of colonialism and it is not an accident. A modern state cannot be run without producing the tools of modern politics, and a subject population that is taught the language of rights will use it. The British understood the risk — the debate over Indian education contains explicit worries about exactly this — and concluded they had no alternative if they wanted an administration they could afford.

Where this shows up in your life

Indian Railways, the IAS, the district and the collector, the Penal Code, the courts and the university system are all continuous with this machinery, adapted.

English is India's link language and its route into global work, and it is also a class divider that maps onto access to education with painful precision.

Personal law by religion is still in force, and the argument over a Uniform Civil Code is a direct continuation of the decision made in the nineteenth century.

And caste in the census is still a live political question — the 2011 socio-economic and caste census, and the demand for a full caste enumeration, are arguments about exactly the instrument this chapter describes.

What the next page covers

The class Macaulay created met, argued, petitioned, and in 1885 formed a body to represent Indian opinion to the government. Within thirty years it had split into moderates and extremists, a separate stream had turned to bombs and pistols, and a Gujarati lawyer was on his way back from South Africa. Chapter 6.20 covers the freedom movement's first phase — the founding of the Congress, what the moderates actually achieved, why Tilak and the extremists rejected their method, the partition of Bengal and the Swadeshi movement, the revolutionary underground, and the formation of the Muslim League.