The Melayu Kingdom (also known as Malayu, Dharmasraya Kingdom or the Jambi Kingdom; , reconstructed Middle Chinese pronunciation mat-la-yu kwok) was a classical Buddhist kingdom located in what is now the Indonesian province of Jambi in Sumatra.

The primary sources for much of the information on the kingdom are the New History of the Tang, and the memoirs of the Chinese Buddhist monk Yijing who visited in 671, and the state was "absorbed" by Srivijaya by 692, but had "broken away" by the end of the twelfth century according to Chao Jukua. The exact location of the kingdom is the subject of studies among historians. One theory is that the kingdom was established around present-day Jambi on Sumatra, Indonesia, approximately 300 km north of Palembang. According to this theory, it was founded by ethnic groups in the Batanghari river area and gold traders from the Minangkabau hinterland of Pagarruyung.

Melayu Kingdom

Etymology

There are different proposals for the origin of the word Melayu ('Malay'). One theory suggests that it is derived from the Javanese terms melayu or mlayu (to steadily accelerate or to run), to describe the strong current of a river in Sumatra that today bears the name Sungai Melayu ('Melayu river') which is the right branch going upriver of Batang Hari whose watershed reaches Pagarruyung. The name was later possibly adopted by the Melayu Kingdom, as it is common for people in the region to be known by the name of the river on which they settled.

Melayu Kingdom

Another theory holds that it originated from the Tamil words Malai and ur meaning "mountain" and "city, land", respectively. It could possibly referred to Barisan Mountains, the mountain range in Sumatra.

Melayu Kingdom

An early literary appearance where the word "Malayadvipa", which means "mountainous island", is described in chapter 48, Vayu Purana as one of the provinces in the eastern sea that was full of gold and silver. Some scholars equate the term with Sumatra, but several Indian scholars believe the term may refer to the peninsula, while Sumatra is more correctly associated with Suvarnadvipa (an ancient name referred to Sumatra) which means "The Gold Land" and the Barisan Mountains which is the mountainous range scattered from north to the south Sumatra hemisphere. Then, the term "Maleu-Kolon" was used in Geographia by Ptolemy which is believed to have originated from the Sanskrit term malayakolam or malaikurram, referring to a geographical part of peninsula. In 7th century, the first use of the term for a nation or a kingdom was recorded by Yijing.

The East Javanese Anjukladang inscription dated from 937 CE Mataram Kingdom stated that the Sima status was awarded to the Anjukladang village and a jayastambha (victory monument) was later upgraded to a temple, the monument was erected in recognition of their service on repelling the invading forces from Malayu. The temple mentioned here is probably the Candi Lor (made of bricks and now in ruins) located in Candirejo village in Nganjuk Regency. The mentioning of invading Malayu forces refers to the old term: "Sumatran Malayu Kingdom", which probably is thought to refer to Srivijaya instead. This means that by the 10th century, the Javanese identified their Sumatran-based enemy as "Malayu".

An inscription on the south wall of the 11th century Brihadeeswarar Temple also made a reference to Malaiyur, a kingdom that had "a strong mountain for its rampart" during the Chola invasion of Srivijaya period. This referred to Chola invaders during Rajendra Chola I's campaign.

In the later Yuan Dynasty (1271–1368) and Ming Dynasty (1368–1644), the word Ma-La-Yu was mentioned often in Chinese historical texts — with changes in spelling due to the time span between the dynasties — to refer to a nation near the southern sea. Among the terms used was "Bok-la-yu", "Mok-la-yu" (木剌由), Ma-li-yu-er (麻里予兒), Oo-lai-yu (巫来由 — traced from the written source of monk Xuanzang), and Wu-lai-yu (無来由). In the chronicle of Yuan Dynasty, the word "Ma-li-yu-er" was mentioned in describing the Sukhothai's southward expansion against Malayu:

In response to the Sukhothai's move, a Chinese envoy arrived at the Ram Khamhaeng's court in 1295 bearing an imperial order: "Keep your promise and do no evil to Ma-li-yu-er". This nation of "Ma-li-yu-er" that appeared in the Chinese record may also be the nation that was mentioned by the famous Venetian traveller Marco Polo (1254–1324) who lived during the same period. In Travels of Marco Polo, he made a reference to a kingdom named "Malauir" in the Malay peninsula.