# The Melaka Sultanate: The Port That Built a Civilisation

> How a prince fleeing Temasek founded a trading port that became the cradle of Malay language, law and Islam — and fell to Portuguese cannon in a single 1511 siege.

- Category: malaysia
- Language: en
- Status: published
- Updated: 2026-07-20
- Canonical: https://negaraku.md/en/malaysia/melaka-sultanate

---

A prince runs from a burning city. He crosses a strait, kills a local chief who sheltered him, and keeps running — through Muar, through Ujong Tanah — until he stops under a tree on a riverbank to rest his dogs. One of them corners a mouse deer, and the mouse deer, cornered, turns and kicks it into the water. The prince takes this as an omen: even the smallest creature here fights back. He decides this is where he will build his city, and names it after the tree he is sitting under — a *melaka* tree.

That is the story the Malay Annals tell about the founding of Melaka around 1400, by a fugitive prince named Parameswara. Whether the mouse deer is literal history or a founding myth dressed up as one, the strategic instinct behind it was real: Melaka sits at the narrowest, calmest stretch of the strait that bears its name, exactly where ships waiting out a monsoon reversal need a harbour.

## A city built on wind

Trade between China and India ran on the monsoon: ships rode the wind one way for months, then waited for it to reverse. A port that sat at the midpoint of that journey, offered fresh water, safe anchorage and fair dealing, could become indispensable — and Melaka did. Within a few generations of Parameswara's arrival, the city was drawing Chinese junks, Gujarati and Tamil traders, Javanese, Arab and Persian merchants, all converging on a stretch of coast that had nothing else to recommend it but geography and government.

That government mattered as much as the geography. Melaka's rulers built an administration around a small set of offices — the Bendahara (chief minister), the Laksamana (admiral), the Temenggung (security chief) and the Syahbandar (harbourmaster, one for each major trading community) — that gave every merchant community a predictable person to deal with. Tun Perak, Bendahara through much of the fifteenth century, is remembered as the administrator who held that system together during Melaka's peak years.

## The conversion that changed a region

At some point in the fifteenth century — the exact ruler and year are debated by historians — Melaka's court converted to Islam. Whatever the precise sequence, the effect is not in dispute: a port already central to regional trade became a hub from which Islam spread onward to Java, the southern Philippines and beyond. Melaka did not import Islam so much as relay it, and in doing so fused it permanently with Malay court culture — the sultanate, not the village, became the vehicle for the religion's spread.

> A port that traded in monsoon winds ended up trading in something more durable: a language, a legal code, and a faith that outlived the city that carried them.

## Law for a city of strangers

A port full of merchants speaking different languages and answering to no shared authority needs rules everyone can appeal to. The Hukum Kanun Melaka — the Melaka legal code — and the related Undang-Undang Laut Melaka (maritime law) codified commercial conduct, family law and criminal justice in terms that later Malay sultanates, from Johor to Perak, borrowed wholesale. Melaka Malay itself, the court's language of administration, became the base from which modern standard Malay descends — one more export that outlasted the kingdom that produced it.

## The siege of 1511

Melaka's wealth eventually drew the attention that wealth always draws. In 1511, a Portuguese fleet under Afonso de Albuquerque, seeking to control the spice trade at its narrowest chokepoint, attacked the city. After weeks of fighting, Melaka fell. Sultan Mahmud Shah, the last ruler of the independent sultanate, fled south, and his descendants re-established Malay rule elsewhere — most consequentially in the Johor Sultanate, which carried Melaka's court traditions forward for another two centuries. The Portuguese held the city for over a century before the Dutch took it in 1641, and the British after that — but by then, Melaka's political centre of gravity had already moved on.

## Why it still matters

Melaka lasted barely 110 years as an independent sultanate, which is short by the standards of the empires around it. But almost every institution that later defined "Malay" statehood — the sultanate as a form of government, Melaka Malay as a shared language, Islamic court law fused with adat custom — either originated there or passed through it on the way to somewhere else. When Malaysia's modern constitution enshrines the institution of the Malay Rulers, or when a couplet of Malay proverbs about loyalty to a Sultan gets quoted in a school textbook, the reference point, however many centuries removed, is Melaka's court. A single trading city, built on a mouse deer's stubbornness and a monsoon's timing, is still doing quiet work in Malaysian civic life six hundred years later.

---

*This article is classified as sensitive (3R+1: royalty) under NegaraKu.md's
editorial policy, because its subject is the origin of the Malay sultanate as an
institution and it also touches the arrival of Islam in the archipelago. It is
written to be strictly descriptive and is held in draft pending human sign-off
before publication.*

## Sources

- Melaka and George Town, Historic Cities of the Straits of Malacca — https://whc.unesco.org/en/list/1223 (UNESCO World Heritage Centre)
- Arkib Negara Malaysia (National Archives of Malaysia) — https://www.arkib.gov.my/ (Arkib Negara Malaysia)
- Jabatan Muzium Malaysia (Department of Museums Malaysia) — https://www.jmm.gov.my/ (Jabatan Muzium Malaysia)
- Sejarah Melayu (Malay Annals) (Arkib Negara Malaysia)

---
Source of truth: https://github.com/negaraku-md/NegaraKu.md
License: CC BY-SA 4.0
