GK Global
← Trails & Tales

History · Military · Long read · 12 min read

Nedumkotta: Travancore's Great Wall and the Night Tipu Sultan Fell

For about thirty years, a line of earth ramparts, ditches and thorny bamboo ran across what is now Thrissur district, from the backwaters to the foot of the Anamalai hills. On a December night in 1789 it threw back the army of Tipu Sultan; four months later it fell, and today almost nothing of it remains.

By Gopakumar Rajan for GK Global, Adimali, Munnar · Trails & Tales by GK

A small ink and watercolour sketch of soldiers piling sacks against an earth rampart, with a battery on a hill and rockets drawn as streaks in the sky, annotated in Dutch
The attack on the Travancore Lines, 29 December 1789, sketched in a report sent from Cochin by the Dutch commander J. G. van Angelbeek on 14 January 1790. The Dutch labels read ‘cotton sacks covered with earth’, ‘battery on a high hill without a ditch’, ‘rockets’ and ‘wilderness’. Nationaal Archief, The Hague (1.11.01.01, inv. 1276), via Wikimedia Commons, CC0; resized by GK Global.

Drive north on the national highway from Aluva towards Thrissur, and just past Koratty the road crosses a place called Kottamuri, ‘the broken fort’. There is nothing to see: paddy, coconut palms, petrol pumps. Yet for some thirty years a line of earthworks ran across this landscape from the backwaters to the hills, and here, in 1790, Tipu Sultan's guns broke through it.

It was called the Nedumkotta, ‘the long fort’, and the British called it the Travancore Lines. Writers like to compare it to the Great Wall of China. It was nothing like as large, but in its own place and time it mattered enormously. This article follows the evidence for what it was, who built it, and the two nights it changed the history of Kerala. As always, our own assessments are clearly marked.

At a glance

A Victorian engraving of a turbaned commander on horseback directing soldiers in an assault on an earthwork
‘Tippoo Sahib at the lines of Travancore’: a Victorian imagining of the attack, from James Grant's Cassell's Illustrated History of India. Engraving after Charles Oliver Murray, via Wikimedia Commons, public domain; restored by GK Global.

The narrowest place

In the eighteenth century, Travancore, under Marthanda Varma and then his nephew Dharma Raja, had grown from a small southern kingdom into the strongest state in Kerala. Its danger lay to the north. The Zamorin of Calicut had attacked Cochin in the 1750s, and after 1766 the rulers of Mysore, Hyder Ali and then his son Tipu Sultan, held Malabar.

Between the sea and the Western Ghats, the land narrows in the south of today's Thrissur district. A line drawn there, from the backwaters near Kodungallur to the forested foot of the Anamalai hills, could close the whole country behind it. That line ran through land belonging to Cochin, Travancore's ally.

Who built it, and when?

A traditional painting of a Kerala king seated, wearing a crown and jewelled ornaments
Dharma Raja, Karthika Thirunal Rama Varma of Travancore (r. 1758–1798), in a traditional painting. Unknown Travancore artist, via Wikimedia Commons, public domain; restored by GK Global.

The usual account is simple. After the Zamorin's attack, Travancore and Cochin signed a treaty in 1761; Cochin ceded the strip of land, and between about 1762 and 1764 Dharma Raja built the Lines, with his Flemish-born commander Eustachius De Lannoy directing the work and the minister Ayyappan Marthanda Pillai in charge.

The documents complicate this. A Travancore order of 1757, before the treaty, sanctioned 15,432 panams for clearing growth around ‘the Nedumkotta’ and planting thorny bushes, so some kind of line already existed. The historian Velu Pillai doubted De Lannoy's role as early as 1940, noting that his tombstone at Udayagiri mentions no fortifications. Some local historians suggest the line may even follow much older defences of the Kodungallur kingdom. Dutch engineers of the East India Company were involved in extending it in the 1770s.

The most likely answer is that the Nedumkotta grew in stages: an older line was taken over, rebuilt and greatly strengthened by Travancore in the 1760s, with Cochin's agreement and help, and improved again in the 1770s.

Our assessment: not one builder, but many

The popular story credits the Lines to a single moment and a single man, De Lannoy under Dharma Raja. The evidence suggests something slower: an existing line, older than the 1761 treaty, taken over, rebuilt and extended by Travancore and Cochin together, with Dutch help later.

That does not diminish Dharma Raja's achievement; it makes the Lines a joint Kerala project rather than a foreign general's design.

What it looked like

The Lines were not a stone wall. They were an earthen rampart with a deep ditch on the north side, a dense hedge of thorny bamboo on the berm, and forts and bastions at intervals.

The British surveyors Ward and Conner, who saw what was left between 1816 and 1820, described an embankment and parapet about 15 feet high, a ditch, a bamboo barrier, a road running inside the rampart, and forty-two bastions and smaller works. A survey by the Cochin archaeologist P. Anujan Achan in 1925–26 recorded a trench about 16 feet wide and 20 feet deep, a mud wall about 30 feet thick, rest points every few furlongs, wells and armouries, and small round citadels, vattakottas, about every mile and a half.

The western end lay near Krishnankotta and Kottamukku, close to Kodungallur, where the Dutch held forts at Cranganore (Kottappuram) and Ayacotta (Pallippuram). The line ran east in a zigzag, was broken by the Chalakudy river, and reached the hills beyond Konoor, near Koratty.

A low mound of reddish earth and laterite blocks under trees, covered in leaves and undergrowth
A mound of earth and laterite under trees, described as a relic of an entrance to the Travancore Lines. Photo: Challiyan, via Wikimedia Commons, public domain; resized by GK Global.

Hyder Ali stopped, Tipu provoked

In 1776 Hyder Ali's general Sirdar Khan swept south through Cochin territory, took Trichur, and occupied most of the lands of the Cranganore raja. He halted at the Travancore Lines. For thirteen years they stood as Mysore's southern frontier.

In 1789 Travancore did two things that Tipu Sultan could not accept. It refused his demand to remove the Lines, which ran across land of Cochin, by then Mysore's tributary. Dharma Raja replied that the land had been given to him before 1766 for help against the Zamorin. And it bought the Dutch forts of Cranganore and Ayacotta, at the western end of the Lines, which Tipu himself had been negotiating to acquire.

A squat hexagonal fort of whitewashed stone with small openings, surrounded by grass and palm trees
The Pallipuram fort (Ayacotta) on Vypin, one of the two Dutch forts at the western end of the Lines that Travancore bought in 1789. Photo: KannanVM, via Wikimedia Commons, CC BY-SA 4.0; resized by GK Global, and this version is shared under the same licence.

The night of 28 December 1789

In late 1789 Tipu marched from Coimbatore with an army of about 20,000 infantry, 5,000 cavalry and 20 guns. On the night of 28–29 December his troops attacked the eastern section of the Lines near Konoor, climbed the ramparts and began to move along them as the defenders fell back.

Then the tide turned. About 800 Nair soldiers with a single 6-pounder gun made a stand. A small Travancore party of about twenty men struck the attackers' flank and killed their commanding officer. In the dark, with cotton bales and powder barrels burning near the ditch, the Mysore column broke and fled. Tipu himself was thrown down in the crush; his palanquin bearers were trampled, and he was carried out injured by his followers.

We know how the attackers tried to cross the ditch because a Dutch official drew it. On 14 January 1790, Johan Gerard van Angelbeek, the Dutch commander at Cochin, sent a report of the battle with a small watercolour sketch, shown at the top of this page. It shows Mysore soldiers piling sacks of cotton covered with earth (katoen zakken met aarde overdekt) against a rampart to fill the ditch, a gun firing from a battery on high ground, and rockets, Tipu's famous weapon, streaking overhead. When the sacks caught fire in the fighting, the improvised bridge became a trap.

A watercolour of an Indian soldier in a turban and tunic holding a long rocket on a bamboo stick
A soldier of Tipu Sultan's army with a war rocket, watercolour by the British artist Robert Home, late eighteenth century. Via Wikimedia Commons, public domain; resized by GK Global.

In the morning, Travancore soldiers pulled from the ditch Tipu's sword, palanquin, dagger, ring and other personal belongings, and presented them to the Raja. Mysore lost about 1,000 killed and wounded; Travancore about 200. Local tradition says Tipu limped for the rest of his life from that fall.

Our assessment: two verdicts on the same wall

Travancore's historians called the Lines a masterpiece; the British surveyors who saw them in 1820 called them useless. Both are partly right. As a barrier against a full siege army with heavy guns, an earth rampart could not hold, as April 1790 proved.

As a tripwire, a political border and a place to fight on favourable ground, it worked twice: against Hyder's general in 1776 and against Tipu in December 1789. It also bought time, and in 1790 time, the monsoon and the British were what saved Travancore.

The breach, April 1790

Tipu came back with heavy guns. From 6 March 1790 his artillery pounded the Lines. On 15 April, after nearly a month of bombardment, they opened a breach about three-quarters of a mile wide, and the Travancore army abandoned the Lines.

A highway with traffic passing between trees and roadside buildings
Kottamuri, ‘the broken fort’: the national highway now runs where Tipu's guns breached the Lines in April 1790. Photo: Challiyan, via Wikimedia Commons, public domain; resized by GK Global.

Tipu marched west and south. On 8 May he occupied Cranganore; Travancore abandoned Ayacotta and Paravur, and about 200 captured guns were sent back to Coimbatore. His army reached the Periyar at Alwaye (Aluva). Ahead lay Travancore itself, defended by fresh lines and river posts organised by the diwan, Raja Kesavadas.

Then the monsoon broke. The Periyar overflowed, flooding the paddy fields; Tipu's army lost its dry ground, its shelter and much of its powder and food. At the same time came news that the British East India Company, bound by treaty to defend Travancore, was assembling an army at Trichinopoly. Tipu turned back, ordered the Lines destroyed as he went, and withdrew to Palakkad. His attack on Travancore had started the Third Anglo-Mysore War, which ended in 1792 with Mysore giving up Malabar.

A painted portrait of an Indian ruler in a pale green robe and turban
Tipu Sultan, about 1790. Unknown artist, via Wikimedia Commons, public domain; restored by GK Global.

After the war

The Lines were never rebuilt. The British demolished parts of them; Ward and Conner, a generation later, called the work ‘immense, almost stupendous, certainly useless’. Weather, farming and roads did the rest. By 1926, when Anujan Achan surveyed the line, he had to trace it through fields and place names. A cave found during road work near Krishnankotta in 1978 may have been part of the system; it was destroyed.

Today the line survives in a few low, overgrown mounds of earth and laterite, such as one near Konoor said to mark an entrance, and above all in names: Kottamuri and Kottamukku, Krishnankotta, Konoor Kottavathil, ‘the gate of the fort at Konoor’, and in a memorial near Koratty.

Our assessment: a heritage that exists only on paper

Almost nothing of the Lines survives above ground, and none of it is protected. What could be saved is its memory: the 1925–26 survey and old maps could be used to mark the line on the ground with simple signs at Kottamuri, Konoor and Krishnankotta, and the Kodungallur forts could tell its story.

A walk along the line, from the backwaters to the hills, would make a fine heritage trail.

What is proven, and what is not

Fact, tradition and simplification

Visiting notes

Read also: The Battle of Colachel · Palakkad Fort · Keezhthali Siva Temple · Muziris and Kottappuram · Cheraman Juma Masjid

See it for yourself, with a local driver who knows these roads.

Book a Munnar Jeep Safari

Sources & further reading

  1. J. G. van Angelbeek, letter from Cochin reporting the battle between Tipu Sultan and the Raja of Travancore, 14 January 1790, with sketch. Nationaal Archief, The Hague, 1.11.01.01, inv. 1276
  2. V. Nagam Aiya, The Travancore State Manual (1906), vol. 1
  3. P. Shankunny Menon, A History of Travancore from the Earliest Times (1878)
  4. Ward and Conner, Memoir of the Survey of the Travancore and Cochin States (survey 1816-20)
  5. Maddy, 'Travancore lines – a Reality Check', Historic Alleys (January 2018)
  6. Nidhin K. Anil, 'Guardian of Travancore: The epic tale of Nedumkotta', Kerala Museum (December 2023)
  7. Deepthi Murali, 'Travancore Lines (Nedumkotta): The Last Stand of Travancore against Tipu Sultan', with the British Library map of the attack (IOR MSS Eur E313/7)
  8. Mohibbul Hasan, History of Tipu Sultan (2005)
  9. Wikipedia: Nedumkotta
  10. Wikipedia: Battle of Nedumkotta

Figures are from the sources listed and were checked in November 2026. Park timings and road conditions change, so please confirm before you travel.