The Demak Sultanate () was a
Javanese Muslim
Muslims () are people who adhere to Islam, a Monotheism, monotheistic religion belonging to the Abrahamic religions, Abrahamic tradition. They consider the Quran, the foundational religious text of Islam, to be the verbatim word of the God ...
state located on
Java
Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
's north coast in
Indonesia
Indonesia, officially the Republic of Indonesia, is a country in Southeast Asia and Oceania, between the Indian Ocean, Indian and Pacific Ocean, Pacific oceans. Comprising over List of islands of Indonesia, 17,000 islands, including Sumatra, ...
, at the site of the present-day city of
Demak.
A port
fief
A fief (; ) was a central element in medieval contracts based on feudal law. It consisted of a form of property holding or other rights granted by an overlord to a vassal, who held it in fealty or "in fee" in return for a form of feudal alle ...
to the Hindu-Buddhist
Majapahit
Majapahit (; (eastern and central dialect) or (western dialect)), also known as Wilwatikta (; ), was a Javanese people, Javanese Hinduism, Hindu-Buddhism, Buddhist thalassocracy, thalassocratic empire in Southeast Asia based on the island o ...
kingdom thought to have been founded in the last quarter of the 15th century, it was influenced by
Islam
Islam is an Abrahamic religions, Abrahamic monotheistic religion based on the Quran, and the teachings of Muhammad. Adherents of Islam are called Muslims, who are estimated to number Islam by country, 2 billion worldwide and are the world ...
brought by Muslim traders from
China
China, officially the People's Republic of China (PRC), is a country in East Asia. With population of China, a population exceeding 1.4 billion, it is the list of countries by population (United Nations), second-most populous country after ...
,
Gujarat
Gujarat () is a States of India, state along the Western India, western coast of India. Its coastline of about is the longest in the country, most of which lies on the Kathiawar peninsula. Gujarat is the List of states and union territories ...
,
Arabia
The Arabian Peninsula (, , or , , ) or Arabia, is a peninsula in West Asia, situated north-east of Africa on the Arabian plate. At , comparable in size to India, the Arabian Peninsula is the largest peninsula in the world.
Geographically, the ...
and also Islamic kingdoms in the region, such as
Samudra Pasai,
Malacca
Malacca (), officially the Historic State of Malacca (), is a States and federal territories of Malaysia, state in Malaysia located in the Peninsular Malaysia#Other features, southern region of the Malay Peninsula, facing the Strait of Malacca ...
and
Bani (Muslim) Champa. The sultanate was the first Muslim state in Java, and once dominated most of the northern coast of Java and southern
Sumatra
Sumatra () is one of the Sunda Islands of western Indonesia. It is the largest island that is fully within Indonesian territory, as well as the list of islands by area, sixth-largest island in the world at 482,286.55 km2 (182,812 mi. ...
.
Although it lasted only a little more than a century, the sultanate played an important role in the
establishment of Islam in Indonesia, especially on Java and neighboring areas.
Etymology
The origin of Demak was the settlement named Glagah Wangi. According to tradition, the first person that Raden Patah encountered in Glagah Wangi was a woman named Nyai Lembah, from
Rawa Pening. Nyai Lembah invited Raden Patah to settle in Glagah Wangi, which later was renamed as Demak Bintara.
There are several suggestions on the origin of the name ''Demak''. According to Indonesian historian
Poerbatjaraka, it derived from the
Javanese term ''delemak'', which means "watery soil" or "swamp". According to
Hamka, it derived from the
Arabic
Arabic (, , or , ) is a Central Semitic languages, Central Semitic language of the Afroasiatic languages, Afroasiatic language family spoken primarily in the Arab world. The International Organization for Standardization (ISO) assigns lang ...
term ''dimak'', which means "tears", to imply the hardship endured during the struggle to establish Islam in Java. According to another historian, Sutjipto Wiryosuparto, it derived from a term in the
Kawi language
Old Javanese or Kawi is an Austronesian language and the oldest attested phase of the Javanese language. It was natively spoken in the central and eastern part of Java Island, what is now Central Java, Yogyakarta and East Java Provinces, Ind ...
that means "heirloom" or "gift".
History
Formation
During the reign of
Wikramawardhana of
Majapahit
Majapahit (; (eastern and central dialect) or (western dialect)), also known as Wilwatikta (; ), was a Javanese people, Javanese Hinduism, Hindu-Buddhism, Buddhist thalassocracy, thalassocratic empire in Southeast Asia based on the island o ...
, during the period from 1405 to 1433, a series of
Ming armadas
naval expeditions led by
Zheng He
Zheng He (also romanized Cheng Ho; 1371–1433/1435) was a Chinese eunuch, admiral and diplomat from the early Ming dynasty, who is often regarded as the greatest admiral in History of China, Chinese history. Born into a Muslims, Muslim famil ...
,
a
Muslim
Muslims () are people who adhere to Islam, a Monotheism, monotheistic religion belonging to the Abrahamic religions, Abrahamic tradition. They consider the Quran, the foundational religious text of Islam, to be the verbatim word of the God ...
Chinese admiral, arrived in Java. This Chinese expedition supported the establishment of the Muslim state of
Malacca
Malacca (), officially the Historic State of Malacca (), is a States and federal territories of Malaysia, state in Malaysia located in the Peninsular Malaysia#Other features, southern region of the Malay Peninsula, facing the Strait of Malacca ...
in the first half of the 15th century, later assisted by the establishment of Muslim Chinese, Arab and Malay communities in northern ports of Java such as
Semarang
Semarang (Javanese script, Javanese: , ''Kutha Semarang'') is the capital and largest city of Central Java province in Indonesia. It was a major port during the Netherlands, Dutch Dutch East Indies, colonial era, and is still an important regio ...
,
Demak,
Tuban, and
Ampel; thus Islam began to gain a foothold on the northern coast of Java.
Demak's origins are uncertain although it was apparently founded in the last quarter of the 15th century by a Muslim known as
Raden Patah (from the Arabic name Fatah, also called "Pate Rodin" in Portuguese records, and "Jin Bun" in Chinese records). There is evidence that he had
Chinese ancestry and perhaps was named Cek Ko-po.
According to tradition,
Sunan Ampel ordered Raden Patah to establish an Islamic learning center in the Glagah Wangi village in coastal Central Java. Soon the village grew to become the center for
dawah
' (, , "invitation", also spelt , , , or ) is the act of inviting people to Islam. The plural is () or (). Preachers who engage in dawah are known as da'i.
Etymology
literally means "issuing a summons" or "making an invitation". Gramma ...
activities among distinguished Islamic proselytizers, traditionally known as
Wali Songo or "the nine saints". At that time Glagah Wangi was a small fiefdom belonging to
Majapahit
Majapahit (; (eastern and central dialect) or (western dialect)), also known as Wilwatikta (; ), was a Javanese people, Javanese Hinduism, Hindu-Buddhism, Buddhist thalassocracy, thalassocratic empire in Southeast Asia based on the island o ...
. It was the only Majapahit fiefdom with a Muslim ruler.
Then the name was changed to Demak, and it grew further by the establishment of a
madrasa
Madrasa (, also , ; Arabic: مدرسة , ), sometimes Romanization of Arabic, romanized as madrasah or madrassa, is the Arabic word for any Educational institution, type of educational institution, secular or religious (of any religion), whet ...
Islamic school and
pesantren
''Pesantren'' is a traditional Islamic boarding school in Indonesia. It is taught either in private houses, a ''wiktionary:pondok, pondok'' or a mosque, the teaching includes classical Islamic texts and ''santri'' thought, taught by Kyai, ''kya ...
boarding school.
Raden Patah
The foundation of Demak is traditionally attributed to
Raden Patah (r. 1475–1518), a Javanese noble related to
Majapahit
Majapahit (; (eastern and central dialect) or (western dialect)), also known as Wilwatikta (; ), was a Javanese people, Javanese Hinduism, Hindu-Buddhism, Buddhist thalassocracy, thalassocratic empire in Southeast Asia based on the island o ...
royalty. At least one account stated that he was the son of Kertabhumi, who reigned as king Brawijaya V of Majapahit (1468–1478).
According to tradition, Raden Patah was the son of Majapahit King Kertabhumi with his concubine, a Chinese princess who resided in the Majapahit palace. She was supposedly given away when unknowingly pregnant with the king's child to be betrothed to the regent of the vassal state of
Palembang
Palembang (, Palembang: ''Pelémbang'', Mandarin: 巨港 (Jùgǎng), Hokkien: 舊港 (Kū-káng), Jawi: ) is the capital city of the Indonesian province of South Sumatra. The city proper covers on both banks of the Musi River in the ea ...
. There Raden Patah was born in 1448 with the name Raden Hasan. After coming of age, he went to Ampel Denta in Java (now Surabaya) to learn from Sunan Ampel, a prominent ulama. Sunan Ampel betrothed him to his daughter, Nyai Ageng Malaka. Subsequently, in the 1470s, Sunan Ampel sent him to establish a new settlement in Glagah Wangi, Central Java. Through Sunan Ampel's recommendation, Raden Hasan was appointed as the regent of Glagah Wangi by King Kertabhumi of Majapahit, with the title Adipati Bintara.
Dates for the end of the Majapahit Empire range from 1478, traditionally described in the ''sinengkalan'' or ''chandrasengkala'' (
chronogram) ''Sirna ilang kertaning bhumi'' and corresponding to 1400
Saka
The Saka, Old Chinese, old , Pinyin, mod. , ), Shaka (Sanskrit (Brāhmī): , , ; Sanskrit (Devanāgarī): , ), or Sacae (Ancient Greek: ; Latin: were a group of nomadic Iranian peoples, Eastern Iranian peoples who lived in the Eurasian ...
,
) to 1517. In 1478 the
Sudarma Wisuta war took place, when Ranawijaya's army under general Udara (who later became vice-regent) breached
Trowulan defences and killed Kertabumi in his palace. Demak sent reinforcements under Sunan Ngudung, who later died in battle and was replaced by
Sunan Kudus, but they came too late to save Kertabumi, although they managed to repel the Ranawijaya army. This event is mentioned in Trailokyapuri (Jiwu) and the Petak inscription, where Ranawijaya claimed that he already defeated Kertabhumi and reunited Majapahit as one kingdom.
[Poesponegoro & Notosusanto (1990), pp. 448–451.] Ranawijaya ruled from 1474 to 1498 with the formal name Girindrawardhana, with Udara as his vice-regent. This event led to war between Demak and
Daha, since Demak rulers were descendants of Kertabhumi.
In response to the collapse of Kertabhumi of Trowulan and the rise of Girindrawardhana of Daha in 1478, Demak decided it was no longer obliged to send tribute to the Majapahit central court and declared its independence. At that time Demak was temporarily led by
Sunan Giri (Prabu Satmoto). Three years later the Islamic kingdom of Demak was established under the chronogram ''Geni mati siniram janmi'', which corresponds to 1403 Saka or 1481 CE.
Raden Hasan was crowned by members of Wali Songo under the new regnal name of Sultan Syah Alam Akbar Al-Fattah; thus in Javanese he was popularly known as Raden Patah.
A Chinese chronicle in a temple in
Semarang
Semarang (Javanese script, Javanese: , ''Kutha Semarang'') is the capital and largest city of Central Java province in Indonesia. It was a major port during the Netherlands, Dutch Dutch East Indies, colonial era, and is still an important regio ...
states that Raden Patah founded the town of Demak in a
marsh
In ecology, a marsh is a wetland that is dominated by herbaceous plants rather than by woody plants.Keddy, P.A. 2010. Wetland Ecology: Principles and Conservation (2nd edition). Cambridge University Press, Cambridge, UK. 497 p More in genera ...
y area to the north of Semarang. After the collapse of Majapahit, its various dependencies and vassals broke free, including northern Javanese port towns like Demak.

As the sign of his new reign, Raden Patah built a new
Grand Mosque as the center of Islamic teaching. He appointed members of Wali Songo as advisors within his new government: Sunan Kudus as
qadi
A qadi (; ) is the magistrate or judge of a Sharia court, who also exercises extrajudicial functions such as mediation, guardianship over orphans and minors, and supervision and auditing of public works.
History
The term '' was in use from ...
(great judge of religious law), Sunan Giri as
mufti
A mufti (; , ) is an Islamic jurist qualified to issue a nonbinding opinion ('' fatwa'') on a point of Islamic law (''sharia''). The act of issuing fatwas is called ''iftāʾ''. Muftis and their ''fatāwa'' have played an important role thro ...
, and
Sunan Kalijaga as
imam
Imam (; , '; : , ') is an Islamic leadership position. For Sunni Islam, Sunni Muslims, Imam is most commonly used as the title of a prayer leader of a mosque. In this context, imams may lead Salah, Islamic prayers, serve as community leaders, ...
and advisor.
Demak managed to gain
hegemony
Hegemony (, , ) is the political, economic, and military predominance of one State (polity), state over other states, either regional or global.
In Ancient Greece (ca. 8th BC – AD 6th c.), hegemony denoted the politico-military dominance of ...
over other trading ports on the northern coast of Java such as
Semarang
Semarang (Javanese script, Javanese: , ''Kutha Semarang'') is the capital and largest city of Central Java province in Indonesia. It was a major port during the Netherlands, Dutch Dutch East Indies, colonial era, and is still an important regio ...
,
Jepara
Jepara is a town in the province of Central Java, Indonesia. Jepara is on the north coast of Java, northeast of Semarang, not far from Mount Muria, with a population of 85,970 in mid 2024.Badan Pusat Statistik, Jakarta, 28 February 2025, ''Kabup ...
,
Tuban, and
Gresik. The supremacy of Raden Patah was expressed by
Tomé Pires in ''
Suma Oriental'': "
ould
de Albuquerque make peace with the Lord of Demak, all of Java will almost be forced to make peace with him... The Lord of Demak stood for all of Java".
[
]
Apart from Javanese city-states, Raden Patah also gained overlordship of the ports of
Jambi
Jambi is a province of Indonesia. It is located on the east coast of central Sumatra
Sumatra () is one of the Sunda Islands of western Indonesia. It is the largest island that is fully within Indonesian territory, as well as the list of i ...
and
Palembang
Palembang (, Palembang: ''Pelémbang'', Mandarin: 巨港 (Jùgǎng), Hokkien: 舊港 (Kū-káng), Jawi: ) is the capital city of the Indonesian province of South Sumatra. The city proper covers on both banks of the Musi River in the ea ...
in eastern Sumatra, which produced commodities such as
lign-aloes and
gold
Gold is a chemical element; it has chemical symbol Au (from Latin ) and atomic number 79. In its pure form, it is a brightness, bright, slightly orange-yellow, dense, soft, malleable, and ductile metal. Chemically, gold is a transition metal ...
.
As most of its power was based on trade and control of coastal cities, Demak can be considered a
thalassocracy
A thalassocracy or thalattocracy, sometimes also maritime empire, is a state with primarily maritime realms, an empire at sea, or a seaborne empire. Traditional thalassocracies seldom dominate interiors, even in their home territories. Examples o ...
.
Growth

Raden Patah's son, or possibly his brother, led Demak's brief domination in Java. He was known as Trenggana, and later Javanese traditions say he gave himself the title Sultan. It appears that Trenggana had two reigns—''c''. 1505–;1518 and ''c''. 1521–1546—between which his brother in law,
Yunus of
Jepara
Jepara is a town in the province of Central Java, Indonesia. Jepara is on the north coast of Java, northeast of Semarang, not far from Mount Muria, with a population of 85,970 in mid 2024.Badan Pusat Statistik, Jakarta, 28 February 2025, ''Kabup ...
, occupied the throne.
Between 1513 and 1518 Demak waged war against Patih Udara of
Daha, the successor state of Majapahit located in today's
Kediri. The main Demak army led by Raden Patah and Sunan Kudus marched overland through Madiun, while the Demak fleet led by
Pati Unus took the sea route through Sedayu. Demak managed to consolidate its power by defeating Daha in 1518, because it was more accepted as the legitimate successor of Majapahit, since Raden Patah claimed direct descent from King Kertabhumi, who had died during the Girindrawardana invasion of Trowulan in 1478. Raden Patah died soon after this victory, also in 1518.
Pati Unus
Raden Patah was succeeded by his brother-in-law
Pati Unus or Adipati Yunus (r. 1518–1521),
referred to by Tomé Pires in ''Suma Oriental'' as "Pate Onus" or "Pate Unus", brother in-law of "Pate Rodim". Before ascending the throne of Demak, he ruled
Jepara
Jepara is a town in the province of Central Java, Indonesia. Jepara is on the north coast of Java, northeast of Semarang, not far from Mount Muria, with a population of 85,970 in mid 2024.Badan Pusat Statistik, Jakarta, 28 February 2025, ''Kabup ...
, a vassal state to the north of Demak. Pati Unus ruled under the regnal name Sultan Syah Alam Akbar II.
In two expeditions, with approximately 100 ships in 1513 and with 375 in 1521, Pati Unus led fleets from the Javanese coastal cities to seize the port of
Malacca
Malacca (), officially the Historic State of Malacca (), is a States and federal territories of Malaysia, state in Malaysia located in the Peninsular Malaysia#Other features, southern region of the Malay Peninsula, facing the Strait of Malacca ...
on the
Malay Peninsula
The Malay Peninsula is located in Mainland Southeast Asia. The landmass runs approximately north–south, and at its terminus, it is the southernmost point of the Asian continental mainland. The area contains Peninsular Malaysia, Southern Tha ...
from the control of the
Portuguese. The Javanese ports turned against the Portuguese for a number of reasons, the main one being opposition to Portuguese insistence on a
monopoly
A monopoly (from Greek language, Greek and ) is a market in which one person or company is the only supplier of a particular good or service. A monopoly is characterized by a lack of economic Competition (economics), competition to produce ...
of the spice trade. The Portuguese repelled both attacks, and the destruction of so many ships proved devastating to the Javanese ports, whose trading activity subsequently greatly declined.
Pati Unus was killed in the 1521 expedition, and was later remembered as ''Pangeran Sabrang Lor'' or "the Prince who crossed to the North" (the
Java Sea
The Java Sea (, ) is an extensive shallow sea on the Sunda Shelf, between the Indonesian islands of Borneo to the north, Java to the south, Sumatra to the west, and Sulawesi to the east. Karimata Strait to its northwest links it to the South Ch ...
to the Malay peninsula).
Sultan Trenggana

Pati Unus died childless, leading to the Demak succession crisis. The throne was contested between his brothers, the older Raden Kikin and the younger Raden
Trenggana. According to tradition, the eldest son of Prince Trenggana, Prince Prawata, also known as Raden Mukmin, stole ''
Keris Setan Kober'', a powerful magical
kris
The kris or is a Javanese culture, Javanese asymmetrical dagger with a distinctive blade-patterning achieved through alternating laminations of iron and nickelous iron (''pamor''). The kris is famous for its distinctive wavy blade, although ma ...
, from
Sunan Kudus and used it to assassinate his uncle Raden Kikin by the river; Raden Kikin has since then also been known as ''Sekar Seda Lepen'' (flower that fell by the river). Raden Trenggana (r. 1522–1546) was then crowned by
Sunan Gunungjati
Sunan Gunungjati (1448–1568) was one of the '' Wali Songo'' or nine saints of Islam revered in Indonesia for the propagation of Islam as the dominant religion in the region. He founded the Sultanate of Banten and the Sultanate of Cirebon on ...
(one of the
Wali Songo) and became the third and greatest ruler of Demak.
During Trenggana's reign a young man named
Fatahillah
Fatahillah, Fadhillah Khan, or Falatehan (Portuguese writing) was a commander of the Demak Sultanate, Sultanate of Demak who is known for leading the conquest of Sunda Kelapa in 1527 and changing its name to Jakarta, Jayakarta. The conquest of Sun ...
came to his court to offer his service to the sultan. He had just returned from
Mecca
Mecca, officially Makkah al-Mukarramah, is the capital of Mecca Province in the Hejaz region of western Saudi Arabia; it is the Holiest sites in Islam, holiest city in Islam. It is inland from Jeddah on the Red Sea, in a narrow valley above ...
after several years studying Islam there, and had learned that his hometown in
Pasai had been captured by the infidel Portuguese. He became a renowned general of Demak. Tradition has it that Trenggana was much impressed by Fatahillah's imposing figure and charisma and his knowledge of Islam, and gave him his daughter, the widow of Pati Unus, as his wife.
After learning of the 1522
Portuguese-Sunda alliance, in 1527 the Sultan ordered Fatahillah to capture the ports of
Banten
Banten (, , Pegon alphabet, Pegon: بنتن) is the westernmost Provinces of Indonesia, province on the island of Java, Indonesia. Its capital city is Serang and its largest city is Tangerang. The province borders West Java and the Special Capi ...
and
Sunda Kelapa
Sunda Kelapa () is the old port of Jakarta, located on the estuary of the Ciliwung River. "Sunda Kalapa" ( Sundanese: "Coconut of Sunda") is the original name, and it was the main port of the Sunda Kingdom. The port is situated in Penjaringan D ...
from the
Kingdom of Sunda. Sunda Kelapa was later renamed
Jayakarta. From these territories he created the
Sultanate of Banten as a vassal state under
Hasanudin, son of Gunungjati, whom he also gave his sister's hand in marriage, creating a new dynasty.
He appointed his daughter Ratna Kencana (popularly known as
Ratu Kalinyamat) and her husband
Sultan Hadlirin to rule Kalinyamat and Jepara. He also appointed
Jaka Tingkir as Adipati (Duke) of
Pajang
The Kingdom of Pajang or Sultanate of Pajang (; 1568–1586) was a short-lived Muslim state in Java. It was established by Adiwijaya or Jaka Tingkir, Lord of Boyolali, after a civil war and was a successor to Sultanate of Demak. Adiwijaya cla ...
and gave another daughter's hand in marriage to Jaka Tingkir.
Trenggana oversaw the spread of Demak's influence to the east and west. He conquered the
Hindu
Hindus (; ; also known as Sanātanīs) are people who religiously adhere to Hinduism, also known by its endonym Sanātana Dharma. Jeffery D. Long (2007), A Vision for Hinduism, IB Tauris, , pp. 35–37 Historically, the term has also be ...
-based resistance in
Central Java
Central Java (, ) is a Provinces of Indonesia, province of Indonesia, located in the middle of the island of Java. Its administrative capital is Semarang. It is bordered by West Java in the west, the Indian Ocean and the Special Region of Yogya ...
and during his second campaign, conquered the last
Javanese Hindu-Buddhist state, the largely defunct remnants of Majapahit;
Tuban, an old Majapahit port mentioned in Chinese sources from the 11th century, was conquered in about 1527. During his reign Demak was able to subdue other major ports and its reach extended into some inland areas of
East Java
East Java (, , ) is a Provinces of Indonesia, province of Indonesia located in the easternmost third of Java island. It has a land border only with the province of Central Java to the west; the Java Sea and the Indian Ocean border its northern ...
that are not thought to have been
Islamized
The spread of Islam spans almost 1,400 years. The early Muslim conquests that occurred following the death of Muhammad in 632 CE led to the creation of the caliphates, expanding over a vast geographical area; conversion to Islam was boosted ...
at the time.
His campaign ended when he sought to conquer the Hindu principality of
Pasuruan in East Java and was killed in 1546. According to tradition, he was assassinated by a ten-year-old Duke of Surabaya, who stabbed with a kris while serving him
betel nut
The areca nut ( or ) or betel nut () is the fruit of the areca palm ('' Areca catechu''). The palm is originally native to the Philippines, but was carried widely through the tropics by the Austronesian migrations and trade since at least 1 ...
.
Decline
Sunan Mukmin
The death of the strong and able Trenggana in 1546 triggered a
blood feud
A feud , also known in more extreme cases as a blood feud, vendetta, faida, clan war, gang war, private war, or mob war, is a long-running argument or fight, often between social groups of people, especially family, families or clans. Feuds begin ...
and
civil war
A civil war is a war between organized groups within the same Sovereign state, state (or country). The aim of one side may be to take control of the country or a region, to achieve independence for a region, or to change government policies.J ...
between Prince
Arya Penangsang, Adipati of the vassal state of , who was the son of the assassinated Sekar Seda Lepen (Raden Kikin), and Trenggana's son Prince Mukmin or Sunan Prawata, who had committed the murder. According to the ''Babad Demak'' chronicle, several influential figures of Wali Songo supported different candidates for the succession. Sunan Giri supported Prince Mukmin, while
Sunan Kudus supported Arya Penangsang, since he belonged to the line of the eldest male son of the Demak dynasty. On the other hand, Sunan Kalijaga proposed Hadiwijaya, popularly known as Joko Tingkir, who was the adipati of
Pajang
The Kingdom of Pajang or Sultanate of Pajang (; 1568–1586) was a short-lived Muslim state in Java. It was established by Adiwijaya or Jaka Tingkir, Lord of Boyolali, after a civil war and was a successor to Sultanate of Demak. Adiwijaya cla ...
and also a son in-law of Trenggana.
Mukmin (r. 1546–1549) ascended the throne as the fourth Sultan of Demak. However, with the help of his teacher Sunan Kudus, Arya Penangsang of Jipang sent an assassin to kill Prawata and his wife using the same
kris
The kris or is a Javanese culture, Javanese asymmetrical dagger with a distinctive blade-patterning achieved through alternating laminations of iron and nickelous iron (''pamor''). The kris is famous for its distinctive wavy blade, although ma ...
that Mukmin had used to kill his father.
Arya Penangsang
Arya Penangsang (r. 1549–1568) ascended to the throne of Demak in 1549 after assassinating his cousin Sunan Prawata. Arya Penangsang was a valiant but vicious man who never hesitated to use brutal force to achieve his goals. Feeling threatened, Prawata's son Arya Pengiri sought refuge in his aunt's realm in Kalinyamat, Jepara.
Prawata's younger sister
Ratu Kalinyamat sought justice from Penangsang's teacher Sunan Kudus, but he declined her request, deeming Penangsang's revenge justified since Prawata had assassinated Penangsang's father, Raden Kikin (Sekar Seda ing Lepen). On their way home from Kudus to Kalinyamat, Ratu Kalinyamat and her husband,
Sultan Hadlirin, were attacked by Penangsang's men. Hadlirin was killed and Ratu Kalinyamat barely survived. She urged her brother in-law, Hadiwijaya (popularly known as
Jaka Tingkir), Adipati of Pajang (now
Boyolali), to avenge her husband's death by killing Arya Penangsang.
Arya Penangsang soon faced heavy opposition from his vassals for his harshness, and was dethroned by a coalition of vassals led by Hadiwijaya. In 1568, Hadiwijaya sent his adopted son and also his son in-law
Sutawijaya
Panembahan Senapati, formally styled Panembahan Senapati ing Ngalaga Sayyidin Panatagama (died in Jenar (now Purwodadi, Purworejo), 1601), was the founder of the Mataram Sultanate.
Origin
Born Danang Sutawijaya, known as Dananjaya, he was the s ...
, who would later become the first ruler of the
Mataram dynasty, to kill Penangsang.
In 1568, after Penangsang was killed, Hadiwijaya assumed the role of sovereign. However, instead of ruling from Demak, he moved all of Demak's
regalia
Regalia ( ) is the set of emblems, symbols, or paraphernalia indicative of royal status, as well as rights, prerogatives and privileges enjoyed by a sovereign, regardless of title. The word originally referred to the elaborate formal dress and ...
, heirlooms, and sacred artifacts to Pajang. He appointed Prawata's son Sunan Pangiri as adipati of Demak. The relationship between the two states was now reversed: Pajang became the suzerain kingdom, while Demak became its vassal. Thus the Demak Sultanate ended with the foundation of the short-lived
Kingdom of Pajang.
Family tree
The following is a version of the royal house of Demak. The relations between various members of this house are assumed mostly from Javanese traditions, oral or
written in ''babads'' or other forms of writings.
Economy

Demak derived its income from trade, importing
spices
In the culinary arts, a spice is any seed, fruit, root, Bark (botany), bark, or other plant substance in a form primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of pl ...
and exporting
rice
Rice is a cereal grain and in its Domestication, domesticated form is the staple food of over half of the world's population, particularly in Asia and Africa. Rice is the seed of the grass species ''Oryza sativa'' (Asian rice)—or, much l ...
to
Malacca
Malacca (), officially the Historic State of Malacca (), is a States and federal territories of Malaysia, state in Malaysia located in the Peninsular Malaysia#Other features, southern region of the Malay Peninsula, facing the Strait of Malacca ...
and the
Maluku Islands
The Maluku Islands ( ; , ) or the Moluccas ( ; ) are an archipelago in the eastern part of Indonesia. Tectonics, Tectonically they are located on the Halmahera Plate within the Molucca Sea Collision Zone. Geographically they are located in West ...
. It was a busy port located at the end of a then navigable channel separating Java and
Muria Island. The channel subsequently filled, joining Muria to Java; from the 15th to the 18th century until the 18th century, it was a major waterway for ships traveling along the northern Javanese coast to the
Spice Islands
In the culinary arts, a spice is any seed, fruit, root, bark, or other plant substance in a form primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for ...
and, via the Serang River, to the rice-producing interior of Java. This strategic location enabled Demak to become a leading trading center in Java.
According to
Tomé Pires, Demak had more inhabitants than any other port in Sunda or Java, and was the primary exporter of rice to
Malacca
Malacca (), officially the Historic State of Malacca (), is a States and federal territories of Malaysia, state in Malaysia located in the Peninsular Malaysia#Other features, southern region of the Malay Peninsula, facing the Strait of Malacca ...
. Demak's prominence grew with that of Malacca, and was also enhanced by Raden Patah's claim of direct descent from
Majapahit
Majapahit (; (eastern and central dialect) or (western dialect)), also known as Wilwatikta (; ), was a Javanese people, Javanese Hinduism, Hindu-Buddhism, Buddhist thalassocracy, thalassocratic empire in Southeast Asia based on the island o ...
royalty and his marriage ties with neighboring city-states.
Religion
Before the emergence of Demak, the northern coast of Java was the seat of many Muslim communities, both foreign merchants and local Javanese. The Islamization process gained momentum from the decline of the Hindu-Buddhist
Majapahit Empire
Majapahit (; (eastern and central dialect) or (western dialect)), also known as Wilwatikta (; ), was a Javanese Hindu-Buddhist thalassocratic empire in Southeast Asia based on the island of Java (in modern-day Indonesia). At its greatest ...
. Following the fall of the Majapahit capital to a usurper from Kediri, Raden Patah declared Demak's independence from Majapahit overlordship, and almost all northern Javanese ports later followed suit. However, the Demak royal family regarded themselves as descendants of Majapahit. Demak symbols continued to use the
Surya Majapahit, an eight-pointed sun, while modifying it to remove Hindu associations. This modified symbol can be seen as decoration inside the
Grand Mosque of Demak.As the first Islamic polity in Java, Demak has a venerated status among
Indonesian Muslims. It is traditionally linked with the legendary
Wali Songo, the nine Muslim
ulama
In Islam, the ''ulama'' ( ; also spelled ''ulema''; ; singular ; feminine singular , plural ) are scholars of Islamic doctrine and law. They are considered the guardians, transmitters, and interpreters of religious knowledge in Islam.
"Ulama ...
who proselytized Islam among the then strongly Hindu-Buddhist population of Java. As an early Islamic polity, the
Demak Great Mosque was built in Demak and still stands today, it is widely believed to be the oldest still-existing mosque in Indonesia.
The surrounding
maqam
Maqam, makam, maqaam or maqām (plural maqāmāt) may refer to:
Musical structures
* Arabic maqam, melodic modes in traditional Arabic music
** Iraqi maqam, a genre of Arabic maqam music found in Iraq
* Persian maqam, a notion in Persian clas ...
(tombs) of Wali saints and Demak sultans here continue to draw
ziyarat
''Ziyara(h)'' ( ''ziyārah'', "visit") or ''ziyarat'' (, ''ziyārat'', "pilgrimage"; , "visit") is a form of pilgrimage to sites associated with the Islamic prophet Muhammad, his family members and descendants (including the Shī'ī Imāms), ...
pilgrimage among Muslims in the region.
Legends
Later
Javanese Babads provide varying accounts of the origins and expansion of Demak, but all describe it as the direct successor of
Majapahit
Majapahit (; (eastern and central dialect) or (western dialect)), also known as Wilwatikta (; ), was a Javanese people, Javanese Hinduism, Hindu-Buddhism, Buddhist thalassocracy, thalassocratic empire in Southeast Asia based on the island o ...
, not mentioning the possibility that by the time of its final conquest, Majapahit no longer ruled the area. The first "Sultan" of Demak, Raden Patah, is portrayed as the son of Majapahit's last king by a Chinese princess who was exiled from the court before Patah's birth;
according to tradition, she first served as a concubine to Kertabhumi (Brawijaya V) in
Trowulan, and when already pregnant with the king's son, was sent as a gift to marry the regent of Palembang.
These legends suggest that the dynastic continuity survived the Islamization of Java, or alternatively that the rulers of Demak reinforced their rule on Java by claiming descent from the Majapahit dynasty as a source of political legitimation.
See also
*
The spread of Islam in Indonesia (1200 to 1600)
*
List of monarchs of Java
References
External links
History of Demak
{{DEFAULTSORT:Sultanate Of Demak
History of Central Java
Demak
Islamic states in Indonesia
Precolonial states of Indonesia
History of Islam in Indonesia
15th century in Indonesia
16th century in Indonesia
Former countries
Demak Sultanate