Siege of Batavia

Last updated
Siege of Batavia
AMH-6775-KB Siege of Batavia by the sultan of Mataram.jpg
Siege of Batavia by Sultan Agung in 1628
Date1628 – 1629

Dutch decisive victory

The Mataram siege repelled
Flag of the Sultanate of Mataram.svg Sultanate of Mataram Flag of the Netherlands.svg Dutch East India Company
Commanders and leaders
Sultan Agung of Mataram
Marquess Bahureksa  
Jan Pieterszoon Coen
10,000 (first siege)
14,000 (second siege)
500-800 including foreign mercenaries from Japan, China, India, Africa, the Moluccas, Celebes, and Java (first siege)
 ? (second siege)
Casualties and losses
more than 5000 small amount

The Siege of Batavia was a military campaign led by Sultan Agung of Mataram to capture the Dutch port-settlement of Batavia in Java. The first attempt was launched in 1628, and the second in 1629; both were unsuccessful. [1]



In the Indonesian Archipelago the Dutch East Indies Company (VOC) first established their base of operation in Amboina. To expand their trading network, the Dutch asked for the permission of the Sultanate of Mataram, then the rising power in Java, to build lojis (trading posts, most consisting of a fort and warehouses) along Java's northern coast. The second ruler of Mataram, Raden Mas Jolang, allowed one such settlement to be built in Jepara in 1613, perhaps in hope that the company will be a powerful ally against his most powerful enemy, the city state of Surabaya.

After the VOC under their most renowned governor general Jan Pieterszoon Coen had wrested the port of Jacatra (Jayakarta) from Sultanate of Banten in 1619, they established a town that would serve as the Company's headquarter in Asia for the next three centuries. As part of the Company's security policy the Javanese people were made to feel unwelcome in Batavia, as the Dutch feared an uprising should they formed the majority of the city's population. To meet labor needs, Batavia instead imported large numbers of workers and slaves from other parts of the archipelago, such as the Maluku Islands and Bali. Notable among these attempts were Willem Ysbrandtszoon Bontekoe voyage to bring 1,000 Chinese immigrants to Batavia from Macao; however, only a small fraction of the 1,000 survived the trip. In 1621, another attempt was initiated and 15,000 people were deported from the Banda Islands to Batavia; on this occasion, only 600 survived the trip.

Having been established for almost a decade, Batavia, the first major Dutch settlement and trading post in Java, had naturally begun to draw hostility from the surrounding Javanese kingdoms. The European port and settlement was considered to be a foreign threat by the native polities. The sultans of Banten aspired to retake the port city and also to close down a major trading rival. However they could not afford to launch a campaign of a scale capable of retaking the port. Instead the Bantenese could only launch occasional small scale raids on Dutch interests outside of the city walls.

Meanwhile, in the east, Mas Jolang died in 1613 and was succeeded by his son Sultan Agung, who was to become the greatest of Mataram's rulers. Relationship with the Company became more tense, with Agung early in his reign (1614) specifically warning a Dutch embassy that peace with him would be impossible to maintain if they were to try to conquer any part of Java, over which he was determined to become sole ruler. In 1618 a misunderstanding resulted in the VOC's loji in Jepara being burnt by Agung's regent, with three VOC personnel being killed and the rest arrested; this in turn caused a reprisal by the Dutch fleet in the same year and the year after that destroyed most of the city. Nevertheless, relationship between the two parties remained mixed; like his father Agung desired the company's naval assistance against Surabaya and in 1621 he made overtures of peace, which the Company reciprocated with embassies in the three following years. The Dutch, however, declined his request for military support, as a result, diplomatic relations between the two sides were severed.

First siege (22 August-3 December 1628)

The map of Batavia circa 1627. On the left facing north is Batavia Castle. COLLECTIE TROPENMUSEUM Reproductie van een plattegrond van Batavia uit circa 1627 TMnr 496-3.jpg
The map of Batavia circa 1627. On the left facing north is Batavia Castle.

Agung might have started his plans for the conquest of Batavia as early as 1626. Aside of his aversion of the Dutch, it was a natural stepping stone for the conquest of Banten, the last major independent Javanese state. As preparation for this he made an alliance with Cirebon although in practice she was treated as a vassal of Mataram. In April 1628 Kyai Rangga Tapa, the regent of Tegal was sent to Batavia to propose a peace treaty with certain conditions on Mataram's behalf. The Dutch however, declined this proposal as well. For Agung, this was the last straw and he put his plan of attacking Batavia into motion. He sent two forces, one by sea under Tumenggung (marquess) Bahureksa, the regent of Kendal, and another overland under Prince Mandudareja.

Javanese malangbangs, at the 1628 siege of Batavia. Compare the size with the moored East Indiaman. Javanse vloot bij het beleg van Batavia.jpg
Javanese malangbangs, at the 1628 siege of Batavia. Compare the size with the moored East Indiaman.

On August 25, 1628, the vanguard of Agung's navy arrived in Batavia. The Mataram naval armada brought extensive amount of supplies, including 150 cattle, 5,900 sacks of sugar, 26,600 coconuts and 12,000 sacks of rice. As a ruse de guerre they initially asked for permission to land in Batavia to trade, however the size of the Mataram fleet caused the Dutch to be suspicious. The next day the Dutch allowed the cattle to be delivered, with the condition that only one Mataram ship at a time may dock. One hundred armed guards watched the landing from Batavia Castle. On the third day three more Mataram ships arrived, claiming that they were there to ask for a travel permit to trade with Malacca. The Hoge Regering became increasingly alarmed at the sudden increase in Mataram ship arrivals, and moved more artillery pieces to Batavia Castle's two northern bastions. Finally in the afternoon twenty more Mataram ships arrived and began to openly unload their troops north of the castle, causing the alerted Dutch to pull all personnel back into the castle and open fire on the incoming Javanese. To deny shelter for the invading army, Coen had most of Batavia's bamboo shack suburbs burnt. On August 28, 1628, 27 more Mataram ships entered the bay but landed quite far from Batavia. On the south of Batavia the vanguard of the overland Mataram force began to arrive, with 1,000 men starting to apply pressure upon Batavia's southern flank. On August 29 the first of many Mataram attacks was launched against Fort Hollandia, located southeast of the city. One hundred twenty VOC troops under the command of Jacob van der Plaetten managed to repulse the attack and the Javanese suffered heavy losses. Several company ships also arrived from Banten and Onrust island, landing an additional 200 troops and increasing Batavia's garrison to 730 men.

The main part of the overland Mataram army arrived in October, bringing their total troop strength to 10,000 men. They blockaded all the roads running south and west of the city and tried to dam the Ciliwung river to limit the Dutch's water supply. This was of little use though, as repeated Mataram escalade attacks against the Dutch fortification resulted in nothing but heavy losses. Even worse, the Mataram commanders had not prepared for a long siege in an area devoid of local logistical support, and by December the army was already running out of supplies. Angered by the lack of success, on December 2 Sultan Agung sent his executioners to punish Tumenggung Bahureksa and Prince Mandurareja. The next day, the Dutch discovered that their opponent had marched home, leaving behind 744 headless corpses of their men.

Second Siege (May–September 1629)

The Siege of Batavia as part of Sultan Agung's campaign (1613-1645) Mataram Sultanate in Sultan Agung Reign.svg
The Siege of Batavia as part of Sultan Agung's campaign (1613-1645)

After the debacle of the first siege, Agung realized that the main hurdle to the conquest of Batavia was logistical, due to the immense distance (some 300 miles) his forces had to cross from their supply bases in Central Java. [2] He decided to establish numerous rice farming villages ran by Javanese farmers on the northern coast of Western Java, from Cirebon to Karawang. [2] This sparked the first wave of Javanese migrations to this previously sparsely populated area, resulting in the vast ricelands that characterized the area from Cirebon to Indramayu, Karawang, and Bekasi that still exist today. [2] By May 1629, Mataram was ready to launch its second attack on Batavia.

[2] The second invasion again consisted of two forces; the Sundanese army of Dipati Ukur, the regent of Priangan, a vassal of Mataram, and the main Javanese army led by Adipati Juminah, altogether some 20,000 strong. The original plan called for Ukur to wait for the main army to rendezvous with him in Priangan and to depart together in June, however lack of supplies forced Ukur to start his advance upon Batavia immediately. When Juminah arrived in Priangan, he was angered at the apparent insult Ukur had done to him. The angered Mataram officials and troops created havoc in Priangan, pillaging and raping local women. Hearing the news from his wife, the angered Ukur promptly withdrew from the campaign, going as far as killing a number of Mataram officials attached to his force. From the example of Tumenggung Bahureksa and Prince Mandurareja, Dipati Ukur knew that Sultan Agung would not tolerate failure, much less betrayal, and hence he decided to rise in rebellion against Mataram instead.

With lack of supplies and plagued with malaria and cholera that hit the region, the Mataram troops that arrived at Batavia were exhausted. Mataram troops established an encampment located south of Batavia in an area now known as Matraman (derived from "Mataraman"). The Mataram forces besieged Batavia and disrupted Batavia's water supply by polluting the Ciliwung River, causing a cholera plague in Batavia. During this second siege Jan Pieterszoon Coen suddenly died on 21 September 1629, most likely because of this cholera outbreak. With internal problems among their commanders, and plagued with illness and a lack of supply, Mataram forces were finally forced to retreat.


The Dipati Ukur withdrawal from the campaign and his rebellion weakened the Mataram hold on Priangan that created instability in West Java for several years. The Dutch however managed to firmly establish themselves in Java. The Batavia campaign failure had led Sultan Agung to shift his conquering ambitions to the east and attack Blitar, Panarukan and the Blambangan in Eastern Java, a vassal of the Balinese kingdom of Gelgel.

Because of Sultan Agung's harsh discipline against failure, large numbers of Javanese troops refused to return home to Mataram. Many of them decided to marry local women and settle down in northern West Java villages. This created the rice farming villages on the Pantura (pantai utara: north coast) region of West Java, spanning Bekasi, Karawang, Subang, Indramayu and Cirebon. The migration and settlement of the Javanese to Northern West Java created a distinctive culture, that later developed to be quite different from the highland Sundanese and Central Javanese counterparts.

In the following decades, the VOC successfully expanded their influence by acquiring Buitenzorg and the Priangan highlands, and also Mataram's north coast ports such as Tegal, Kendal and Semarang through concessions in Mataram's expense. This was possible primarily due to internal problems within the Mataram court, plagued with succession disputes and struggle for power. Some of the former Mataram encampments became place names in Jakarta today, and can be identified by their originally Javanese names, such as Matraman, Paseban and Kampung Jawa.


  1. "Coen, Jan Pieterszoon". Library Index. Retrieved 17 February 2013.
  2. 1 2 3 4 Drs. R. Soekmono (1981). Pengantar Sejarah Kebudayaan Indonesia 3, 2nd ed (in Indonesian) (1973, 5th reprint edition in 2003 ed.). Yogyakarta: Penerbit Kanisius. p. 61. ISBN   9794132918.

Related Research Articles

West Java Province of Indonesia

West Java is a province of Indonesia on the western part of the island of Java, with its provincial capital in Bandung. West Java is bordered by the province of Banten and the country's capital region of Jakarta to the west, the Java Sea to the north, the province of Central Java to the east and the Indian Ocean to the south. The province is the native homeland of the Sundanese people, the second-largest ethnic group in Indonesia after the Javanese.

Jan Pieterszoon Coen Dutch colonial administrator

Jan Pieterszoon Coen was an officer of the Dutch East India Company (VOC) in the early 17th century, holding two terms as Governor-General of the Dutch East Indies. He was the founder of Batavia, capital of the Dutch East Indies. Renowned for providing the impulse that set the VOC on the path to dominance in the Dutch East Indies, he was long considered a national hero in the Netherlands. Since the 19th century, his legacy has become controversial due to the violence he employed, especially during the last stage of the Dutch conquest of the Banda Islands, in order to secure a trade monopoly on nutmeg, mace and clove.

Batavia, Dutch East Indies Capital of the Dutch East Indies

Batavia, also called Batauia in the city's Malay vernacular, was the capital of the Dutch East Indies. The area corresponds to present-day Jakarta, Indonesia. Batavia can refer to the city proper or its suburbs and hinterland, the Ommelanden, which included the much-larger area of the Residency of Batavia in the present-day Indonesian provinces of Jakarta, Banten and West Java.

Mataram Sultanate Historic kingdom on the island of Java, in present-day Indonesia (1586-1755)

The Sultanate of Mataram was the last major independent Javanese kingdom on the island of Java before it was colonised by the Dutch. It was the dominant political force radiating from the interior of Central Java from the late 16th century until the beginning of the 18th century.

Sultan Agung of Mataram Paduka Ingkang Sinuhun Kangjeng Sultan Agung Hadi Prabu Hanyakrakusuma

Sultan Hanyakrakusuma is known as Sultan Agung was the third Sultan of Mataram in Central Java ruling from 1613 to 1645. A skilled soldier he conquered neighbouring states and expanded and consolidated his kingdom to its greatest territorial and military power.

Ageng Tirtayasa of Banten Sixth Sultan of Banten

Tirtayasa (1631–1695), complete stylized name Sultan Ageng Tirtayasa, also known as Ageng and Abulfatah Agung, was the sultan of Banten during the kingdom's golden age.

Amangkurat I of Mataram Sultan of Mataram, 1646–1677

Amangkurat I was the sultan of Mataram from 1646 to 1677. He was the son of Sultan Agung Hanyokrokusumo. He experienced many rebellions during his reign. He died in exile in 1677, and buried in Tegalwangi, hence his posthumous title, Sunan Tegalwangi or Sunan Tegalarum. He was also nicknamed as Sunan Getek, because he was wounded when suppressing the rebellion of Raden Mas Alit, his own brother.

Sukabumi Regency Regency in West Java, Indonesia

Sukabumi Regency is a regency (kabupaten) in southwestern Java, as part of West Java province of Indonesia. The regency seat is located in Palabuhan Ratu, a coastal district facing the Indian Ocean. The regency fully encircles the administratively separated city of Sukabumi. Covering an area of 4,145.70 km2, the regency is the largest regency in West Java and the second largest regency on Java after the Banyuwangi Regency in East Java. The regency had a population of 2,341,409 at the 2010 Census and 2,725,450 at the 2020 Census. with a large part of it living in the northeastern part of the regency that encircles Sukabumi City, south of Mount Gede. A plan to create a new regency, the North Sukabumi Regency is currently waiting for the approval of the central government.

Purwakarta District in West Java, Indonesia

Purwakarta is a district and town in the West Java, Indonesia which serves as the regency seat of the Purwakarta Regency. It had a population of 165,447 at the 2010 Census,. rising to 179,233 at the 2020 Census.

Banten Sultanate

The Banten Sultanate was an Islamic trading kingdom founded in the 16th century and centred in Banten, a port city on the northwest coast of Java; the contemporary English name of both was Bantam. It is said to have been founded by Sunan Gunungjati, who had previously founded Cirebon.

Abu Nasr Abdul Kahhar was the sultan of Banten from 1682 to 1687, who was largely responsible for subjugating Banten to the Dutch East India Company (VOC). He had considerable political power as a crown prince, and from the 1650s the court was divided into factions in support of his father Ageng and him. The VOC even called them the "old Sultan" and "young Sultan," respectively. Haji's faction was in favor of a stronger relationship with the VOC in nearby Batavia, while Ageng was a firm opponent of such a relationship.

Abu al-Mafakhir of Banten

Sultan Abu al-Mafakhir Mahmud Abdulkadir or better known as Pangeran Ratu was the ruler of Banten in Northwest Java, Indonesia, and was the first ruler anywhere on the island of Java to take the title of sultan, which he took in 1638, under the Arabic name Abulmafakhir Mahmud Abdulkadir. This set a precedent for Sultan Agung of Mataram soon afterwards to take the title himself.

Kendal Regency Regency in Central Java, Indonesia

Kendal is a regency in the northern part of Central Java province in Indonesia, west of Semarang. Its capital is Kendal. The regency is bordered by the Java Sea in the north, Semarang City and Semarang Regency in the east, Temanggung Regency in the south, and Batang Regency in the west. Kendal Regency was established on 28 July 1605. Kendal is also known as the City of Santri because there are thousands of Ponpes, especially in Kaliwungu District and also known as the City of Arts and Culture. In 2019, the total population was 1,011,939 people, consisting of 511,537 (50.55%) male population and 500,402 (49.45%) female population.

Sultanate of Cirebon 15th Century

The Sultanate of Cirebon was an Islamic sultanate in West Java founded in the 15th century. It is said to have been founded by Sunan Gunungjati, marked by his letter proclaiming Cirebon's independence from Pajajaran in 1482, although the settlement and the polity had been established earlier in 1445. Sunan Gunungjati also established the Sultanate of Banten. It was one of the earliest Islamic states established in Java, along with the Sultanate of Demak.

Dutch East India Company in the Malay Archipelago Early Dutch colonization in the East Indies.

The Dutch East India Company had a presence in the Malay archipelago from 1610, when the first trading post was established, to 1800, when the bankrupt company was dissolved, and its possessions nationalised as the Dutch East Indies.

Parahyangan Cultural region in West Java, Indonesia

Parahyangan is a cultural and mountainous region in West Java province on the Indonesian island of Java. Covering an approximately a little less than one sixth of Java, it is the heartland of Sundanese people and their culture. It is bordered to the West by Banten province, to the North by the northern coast region of Subang, Cirebon and Indramayu, to the east by Central Java province, and to the south by the Indian Ocean.

The Mataram conquest of Surabaya or Mataram-Surabaya War was a military campaign by the Sultanate of Mataram in the early 17th century that resulted in the capture of the Duchy of Surabaya and its allies in eastern Java, in modern-day Indonesia. Prior to this conquest, Mataram and Surabaya were rivals for power in central and eastern Java. The campaign began in 1614 when Mataram, under the leadership of Sultan Agung, attacked Surabaya's allies, including Wirasaba. Surabaya and its allies launched a counterattack but were defeated near Pajang in 1616. Over the next few years, Mataram gradually conquered members of the Surabayan alliance, and by 1620, the city of Surabaya itself was under siege, holding out until it surrendered in 1625. With this conquest, Mataram unified most of central and eastern Java under its control, and cemented its position as the dominant power in Java. Surabaya and other conquered areas would remain in Mataram's hands until it was ceded to the Dutch East India Company in 1743.

Trunajaya rebellion 17th-century unsuccessful rebellion in Java

Trunajaya rebellion or Trunajaya War was the ultimately unsuccessful rebellion waged by the Madurese prince Trunajaya and fighters from Makassar against the Mataram Sultanate and its Dutch East India Company (VOC) supporters in Java during the 1670s.

The Fall of Plered was the capture of the capital of the Mataram Sultanate by the rebel forces loyal to Trunajaya in late June 1677. The attack on Plered followed a series of rebel victory, notably in the Battle of Gegodog and the fall of most of Mataram's northern coast. The aged and sick King Amangkurat I and his sons offered an ineffective defense, and the rebel overran the capital on or around 28 June. The capital was plundered and its wealth taken to the rebel capital in Kediri. The loss of the capital led to the collapse of the Mataram government and the flight of the royal family. The king fled with his son the crown prince and a small retinue to Tegal and died there, passing the kingship to the crown prince, now titled Amangkurat II, without any army or treasury.

After his victory at the Battle of Gegodog in northeast Java, the Madurese rebel leader Trunajaya proceeded westwards to conquer Mataram Sultanate's remaining towns on the north coast of Java. By January 1677, nearly all coastal towns from Surabaya to Cirebon were taken.