page_title: History of Indonesia
section_title: Sultanate of Mataram
hierarchical_section_title: History of Indonesia / The age of Islamic states / Sultanate of Mataram
caption_attribution_description: English: One of the gates of Kota Gede, the former capital of Mataram Sultanate, Yogyakarta. The complex includes mosque, pool and bathing place, and Mataram royal cemetery.
context_page_description: The history of Indonesia has been shaped by its geographic position, its natural resources, a series of human migrations and contacts, wars and conquests, as well as by trade, economics and politics. Indonesia is an archipelagic country of 17,000 to 18,000 islands stretching along the equator in South East Asia. The country's strategic sea-lane position fostered inter-island and international trade; trade has since fundamentally shaped Indonesian history. The area of Indonesia is populated by peoples of various migrations, creating a diversity of cultures, ethnicities, and languages. The archipelago's landforms and climate significantly influenced agriculture and trade, and the formation of states. The boundaries of the state of Indonesia represent the 20th century borders of the Dutch East Indies.
  Fossilised remains of Homo erectus and his tools, popularly known as the "Java Man", suggest the Indonesian archipelago was inhabited by at least 1.5 million years ago. Austronesian people, who form the majority of the modern population, are thought to have originally been from Taiwan and arrived in Indonesia around 2000 BCE.
context_section_description: The Sultanate of Mataram was the third Sultanate in Java, after the Sultanate of Demak Bintoro and the Sultanate of Pajang.
  According to Javanese records, Kyai Gedhe Pamanahan became the ruler of the Mataram area in the 1570s with the support of the kingdom of Pajang to the east, near the current site of Surakarta (Solo). Pamanahan was often referred to as Kyai Gedhe Mataram after his ascension.
  Pamanahan's son, Panembahan Senapati Ingalaga, replaced his father on the throne around 1584. Under Senapati the kingdom grew substantially through regular military campaigns against Mataram's neighbours. Shortly after his accession, for example, he conquered his father's patrons in Pajang.
  The reign of Panembahan Seda ing Krapyak (c. 1601–1613), the son of Senapati, was dominated by further warfare, especially against powerful Surabaya, already a major centre in East Java. The first contact between Mataram and the Dutch East India Company (VOC) occurred under Krapyak. Dutch activities at the time were limited to trading from limited coastal settlements, so their interactions with the inland Mataram kingdom were limited, although they did form an alliance against Surabaya in 1613. Krapyak died that year.
  Krapyak was succeeded by his son, who is known simply as Sultan Agung ("Great Sultan") in Javanese records. Agung was responsible for the great expansion and lasting historical legacy of Mataram due to the extensive military conquests of his long reign from 1613 to 1646.
  After years of war Agung finally conquered Surabaya. The city was surrounded by land and sea and starved into submission. With Surabaya brought into the empire, the Mataram kingdom encompassed all of central and eastern Java, and Madura; only in the west did Banten and the Dutch settlement in Batavia remain outside Agung's control. He tried repeatedly in the 1620s and 1630s to drive the Dutch from Batavia, but his armies had met their match, and he was forced to share control over Java.
  In 1645 he began building Imogiri, his burial place, about fifteen kilometres south of Yogyakarta. Imogiri remains the resting place of most of the royalty of Yogyakarta and Surakarta to this day. Agung died in the spring of 1646, with his image of royal invincibility shattered by his losses to the Dutch, but he did leave behind an empire that covered most of Java and its neighbouring islands.
  Upon taking the throne, Agung's son Susuhunan Amangkurat I tried to bring long-term stability to Mataram's realm, murdering local leaders that were insufficiently deferential to him, and closing ports so he alone had control over trade with the Dutch.
  By the mid-1670s dissatisfaction with the king fanned into open revolt. Raden Trunajaya, a prince from Madura, lead a revolt fortified by itinerant mercenaries from Makassar that captured the king's court at Mataram in mid-1677. The king escaped to the north coast with his eldest son, the future king Amangkurat II, leaving his younger son Pangeran Puger in Mataram. Apparently more interested in profit and revenge than in running a struggling empire, the rebel Trunajaya looted the court and withdrew to his stronghold in East Java leaving Puger in control of a weak court.
  Amangkurat I died just after his expulsion, making Amangkurat II king in 1677. He too was nearly helpless, though, having fled without an army or treasury to build one. In an attempt to regain his kingdom, he made substantial concessions to the Dutch, who then went to war to reinstate him. For the Dutch, a stable Mataram empire that was deeply indebted to them would help ensure continued trade on favourable terms. They were willing to lend their military might to keep the kingdom together. Dutch forces first captured Trunajaya, then forced Puger to recognise the sovereignty of his elder brother Amangkurat II. The kingdom collapsed after a two-year war, in which power plays crippled the Sunan.
caption: The cemetery compound of Mataram Sultans known as Pasarean Mataram in Kota Gede, Yogyakarta.
exif: {"Image Make": "Canon", "Image Model": "Canon EOS 400D DIGITAL", "Image Orientation": "Horizontal (normal)", "Image XResolution": "72", "Image YResolution": "72", "Image ResolutionUnit": "Pixels/Inch", "Image Software": "Adobe Photoshop CS2 Windows", "Image DateTime": "2009:12:13 23:39:56", "Image WhitePoint": "[313/1000, 329/1000]", "Image PrimaryChromaticities": "[16/25, 33/100, 21/100, 71/100, 3/20, 3/50]", "Image YCbCrCoefficients": "[299/1000, 587/1000, 57/500]", "Image YCbCrPositioning": "Co-sited", "Image ExifOffset": "352", "Thumbnail Compression": "JPEG (old-style)", "Thumbnail XResolution": "72", "Thumbnail YResolution": "72", "Thumbnail ResolutionUnit": "Pixels/Inch", "Thumbnail JPEGInterchangeFormat": "1154", "Thumbnail JPEGInterchangeFormatLength": "9032", "EXIF ExposureTime": "1/60", "EXIF FNumber": "8", "EXIF ExposureProgram": "Aperture Priority", "EXIF ISOSpeedRatings": "100", "EXIF ExifVersion": "0221", "EXIF DateTimeOriginal": "2008:06:04 02:03:01", "EXIF DateTimeDigitized": "2008:06:04 02:03:01", "EXIF ComponentsConfiguration": "YCbCr", "EXIF ShutterSpeedValue": "193557/32768", "EXIF ApertureValue": "6", "EXIF ExposureBiasValue": "0", "EXIF MeteringMode": "Average", "EXIF Flash": "Flash did not fire, compulsory flash mode", "EXIF FocalLength": "18", "EXIF FlashPixVersion": "0100", "EXIF ColorSpace": "Uncalibrated", "EXIF ExifImageWidth": "1764", "EXIF ExifImageLength": "1290", "EXIF FocalPlaneXResolution": "3888000/877", "EXIF FocalPlaneYResolution": "432000/97", "EXIF FocalPlaneResolutionUnit": "2", "EXIF CustomRendered": "Normal", "EXIF ExposureMode": "Auto Exposure", "EXIF WhiteBalance": "Auto", "EXIF SceneCaptureType": "Standard", "EXIF Gamma": "11/5"}