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.

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
- Where: across the south of present-day Thrissur district, from Krishnankotta and Kottamukku near Kodungallur in the west, through Chalakudy taluk, to Konoor near Koratty and on towards the Anamalai foothills in the east.
- Length: estimates range from about 24 miles (Ward and Conner's survey of 1816–20) to about 30 miles (roughly 48 km), the usual figure, and up to 50 km.
- When: built or greatly strengthened in the 1760s under Dharma Raja (Karthika Thirunal Rama Varma, r. 1758–1798), after a 1761 treaty with Cochin; attacked by Tipu Sultan on 28–29 December 1789; breached on 15 April 1790.
- Key figures: Dharma Raja; his commander Eustachius De Lannoy and ministers Ayyappan Marthanda Pillai and Raja Kesavadas; the Cochin minister Komi Achan; Tipu Sultan of Mysore.
- Today: no continuous ramparts survive, only a few overgrown mounds. Place names such as Kottamuri, Kottamukku and Krishnankotta, a memorial at Konoor near Koratty, and the fort ruins at Kodungallur mark its line.

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?

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.

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.

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.

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.

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.

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
- Documented: Travancore held a fortified line across south Thrissur from the 1760s to 1790 (Travancore and Dutch records, British accounts, Ward and Conner's survey).
- Simplified: that De Lannoy built it from scratch in the 1760s. A 1757 Travancore order already refers to ‘the Nedumkotta’, and Dutch engineers extended it in the 1770s; it grew in stages.
- One estimate: the length of 48 km (30 miles). Figures range from about 24 miles (Ward and Conner) to about 50 km.
- Documented: it halted Hyder Ali's army under Sirdar Khan in 1776.
- Documented: Tipu's night assault was thrown back on 28–29 December 1789, and his sword, palanquin, dagger and ring were recovered from the ditch.
- Tradition: that Tipu was lame for life from his fall. Widely repeated, but not confirmed by contemporary sources.
- Documented: the Lines were breached on 15 April 1790.
- Partly true: that the flooded Periyar stopped Tipu at Aluva. The monsoon floods were real and crippling, but the approach of the British army was at least as important.
- Barely: visible ramparts today. A few overgrown mounds, place names, a memorial near Koratty and the forts at Kodungallur remain.
Visiting notes
- Kottamuri and Konoor, near Koratty and Chalakudy: beside NH 544 (the old NH 47), between Aluva and Thrissur. This is where the Lines were breached in 1790; a memorial is reported at Konoor Kottavathil, near Koratty. Expect fields and perhaps a plaque, not ruins; ask locally.
- Kottappuram fort, Kodungallur: the ruins of the Portuguese-Dutch fort of Cranganore at the western end of the Lines, restored by the Muziris Heritage Project. Bought by Travancore in 1789 and taken by Tipu in May 1790.
- Pallippuram fort (Ayacotta), Vypin: the old Portuguese fort across the water, the other western anchor, also bought in 1789.
- Aluva and the Periyar: where Tipu's advance stopped in the floods of 1790.
- Combine with: the Muziris Heritage sites, Cheraman Juma Masjid, and Athirappilly falls east of Chalakudy.
- From Munnar: Chalakudy is roughly four hours by road via Aluva.
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 SafariSources & further reading
- 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
- V. Nagam Aiya, The Travancore State Manual (1906), vol. 1
- P. Shankunny Menon, A History of Travancore from the Earliest Times (1878)
- Ward and Conner, Memoir of the Survey of the Travancore and Cochin States (survey 1816-20)
- Maddy, 'Travancore lines – a Reality Check', Historic Alleys (January 2018)
- Nidhin K. Anil, 'Guardian of Travancore: The epic tale of Nedumkotta', Kerala Museum (December 2023)
- 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)
- Mohibbul Hasan, History of Tipu Sultan (2005)
- Wikipedia: Nedumkotta
- 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.