Sign In

Hamengkubuwono I: Founder of the Yogyakarta Sultanate

Hamengkubuwono I founded Yogyakarta’s royal city

Hamengkubuwono I was the first ruler of the Yogyakarta Sultanate. Born Prince Mangkubumi, he secured a separate court through the Giyanti settlement of 1755, took the royal title Sri Sultan Hamengku Buwono I and established Yogyakarta as its capital. The palace he commissioned remains the best place to understand his role: it was a residence, seat of government and carefully placed centre of a new city, rather than simply a monument to one ruler.

For a visitor, the most useful way to follow his story is to connect three parts of central Yogyakarta: the Keraton, the north–south route marked by Tugu Golong-Gilig and Panggung Krapyak, and the nearby royal garden at Tamansari. These are separate places with different layers of history. The palace is the central encounter; the alignment and garden help explain the broader city he shaped.

From Prince Mangkubumi to the first Sultan

Before he became Hamengkubuwono I, Mangkubumi was a prince of the Mataram court. The struggle over succession and authority lasted for years. The agreement signed at Giyanti on 13 February 1755 ended that phase by dividing the Mataram realm between two courts: Pakubuwono III retained Surakarta, while Mangkubumi received a western territory and established the Yogyakarta Sultanate. The settlement created two enduring royal centres in Central Java, each with its own court and capital.

The change was more than a new title. Mangkubumi had to turn a territorial settlement into a functioning state: define a capital, establish a court, organise administration and make the new centre legible to people arriving from different parts of the realm. The new realm became known as Ngayogyakarta Hadiningrat. The modern city name is usually shortened to Yogyakarta, while the palace is commonly called the Keraton or Kraton Ngayogyakarta Hadiningrat. Spellings vary across Indonesian and English writing; “Hamengku Buwono” and “Hamengkubuwono” refer to the same ruler.

That founding explains why the sultan is both a political founder and a city-builder. His legacy is not confined to a statue or a single tomb. It is embedded in the layout of the capital, in the court complex that became its centre and in the sequence of public landmarks extending north and south from it. The wider setting is the region of Yogyakarta, where the sultanate’s court tradition still shapes the city.

The settlement that created Yogyakarta

The Giyanti agreement is the turning point in Hamengkubuwono I’s biography. It brought an end to a contested struggle by recognising Mangkubumi as ruler of a new sultanate. The agreement did not itself provide a finished capital. A court, residence and administrative centre still had to be built, and the sultan’s choice of location gave the new polity a durable geographic focus.

Yogyakarta was not an accidental backdrop to the settlement. The capital’s arrangement made authority visible through space: the palace stood at the centre, with routes and landmarks extending in opposite directions. The Keraton’s position between the city’s northern and southern zones allowed it to function as a working centre rather than an isolated royal compound. Streets, markets and administrative quarters developed around that nucleus as the capital grew.

The treaty is also a useful distinction when comparing Yogyakarta with nearby historic cities. Surakarta was not another neighbourhood of the same court; it was the capital of a separate successor state under Pakubuwono III. A visit to Yogyakarta therefore tells one branch of a divided political history. The Treaty of Giyanti is the settlement behind the palace’s foundation, and it is the reason Yogyakarta and Surakarta are two royal centres rather than one.

Why the Keraton matters to his story

Construction of the palace began in 1755, the same year as the agreement, and the main complex was finished in 1756. This sequence helps distinguish the founding act from the work that followed it: the political settlement established the new ruler’s position, while the palace gave his court a physical home. Hamengkubuwono I’s court used the Keraton as a residence and governing centre. It remains associated with the reigning Yogyakarta royal house, so a visitor sees a living institution as well as an eighteenth-century foundation.

The Keraton is a compound rather than one façade. Its courts, gates, pavilions and open spaces form a progression inward. That arrangement matters when walking through it: the experience is not just a view of ornate buildings but a gradual movement through spaces with different degrees of access and formality. Some areas are open for visitors while other parts continue to serve court functions. Treat signs, barriers and staff directions as boundaries, and do not assume that every courtyard is part of a visitor route.

Architecturally, the palace is associated with Hamengkubuwono I’s own design ability and the court’s Javanese building tradition. Visitors should look for the repeated relationship between built forms and open courtyards, the transition through gateways, and the way shade and broad paved areas change the scale of each section. These details make the palace easier to read than trying to absorb every decorative element at once. It is a place where circulation and hierarchy are part of the design.

Allow attention for both the buildings and the objects or displays encountered along the permitted route. A short visit focused only on taking a picture at the entrance misses the compound’s sequence. Conversely, trying to inspect every detail in one pass can blur the larger plan. Pause at each threshold and notice what changes: the width of the space, the level of enclosure, the style of the pavilion or the view back towards the gate. That is a practical way to understand how a court centre differs from an ordinary city museum.

Reading the north–south city axis

Hamengkubuwono I’s city plan is often explained through a north–south alignment. The main landmarks in this line are Tugu Golong-Gilig to the north, the Keraton at the centre and Panggung Krapyak to the south. The sequence links an urban monument, the royal compound and a southern structure; it is a useful framework for seeing the capital as a planned composition rather than a collection of unrelated sights.

The Tugu seen today is not the original eighteenth-century structure in its first form. The earlier monument, called Golong-Gilig for its cylindrical shaft and rounded top, was brought down by an earthquake in 1867. It was rebuilt in 1889 with a square base and a lower, pointed top, reducing its height from about 25 metres to about 15, so its present shape differs from that initial design. The site remains an important northern marker, but visitors should not mistake the current monument for an untouched object from Hamengkubuwono I’s time. The historical link is the site and the axis, alongside a changed structure.

From the Tugu, the route south runs towards the palace through central streets. In practice, this is a city walk through active traffic and busy junctions, not a continuous pedestrian garden. A visitor who wants to understand the alignment can inspect its endpoints separately and use a map to relate them, rather than expecting an uninterrupted ceremonial path. The palace is the most substantial stop; the Tugu is a compact urban landmark where traffic conditions shape how long one can comfortably remain.

Panggung Krapyak marks the southern end of the same broad axis. Its role in the city plan becomes clearer when viewed in relation to the palace and Tugu, though it is not physically attached to either. A focused visit might take in the Keraton first, then consider the northern marker on another leg through the city, or reverse that order depending on where the day begins. Linking all three in a single outing is possible as a city itinerary, but the distance and street conditions make it different from wandering within one site.

Hamengkubuwono I and Tamansari

Tamansari, also called Taman Sari, is a royal garden complex close to the palace. It belongs to the court landscape associated with Hamengkubuwono I, but it has its own purpose and atmosphere. Where the Keraton presents the organised centre of royal residence and government, Tamansari is a garden and retreat setting, known for its water features, pools and enclosed architectural spaces. Its remains are encountered as a distinct complex within the surrounding urban neighbourhood.

For visitors, Tamansari is most rewarding when approached as a set of connected spaces rather than a single “water castle” photo stop. The surviving structures show how walls, courtyards, passages and water were arranged together. Some parts are open and airy, while others narrow into enclosed routes. The contrast with the Keraton is useful: both relate to the same court, but they do not ask the visitor to look for the same things. At Tamansari, pay attention to how the garden’s remnants sit among present-day streets and homes.

It is close enough to combine with the palace area in a broader central Yogyakarta day, yet it should not be treated as an extension of the palace visitor route. Movement between the two takes place through the city, and the old complex is surrounded by a lived-in neighbourhood. This makes the walk part of the experience: the historic royal setting and contemporary residential lanes meet at the edges. Together with the rest of Yogyakarta city, these central sights make a full day of walking and short rides.

What a visit can and cannot show

A visit to the Keraton gives a concrete sense of the institutional centre Hamengkubuwono I created, but it cannot reproduce the eighteenth-century capital as it stood at its founding. The complex has continued to be used and maintained, and Yogyakarta has grown around it. Visitors see layers of continuity and change together: royal spaces remain in use, while the surrounding city has absorbed the palace into a much larger urban setting.

At the palace, the most useful question is not simply “Which building is oldest?” but “How does the complex organise movement and access?” The answer is visible in the gates, courts, pavilions and transitions between open and enclosed areas. At the Tugu, ask how a monument can remain a key city symbol even after its original form has changed. At Tamansari, look at the relationship between a former royal garden and the residential fabric around it. These questions connect each place to Hamengkubuwono I without claiming that every visible feature dates to his lifetime.

Different stops suit different interests. Someone primarily interested in political history should give the Keraton and the Giyanti settlement the most attention. A visitor drawn to city planning will get more from comparing the palace with the Tugu and Panggung Krapyak. A person interested in architecture and water landscapes should add Tamansari. The stops complement each other, but none needs to be rushed just to tick off the entire axis.

Planning a focused route through the royal centre

Begin at the Keraton if the sultan’s story is the main reason for the visit. Its central location makes it the clearest anchor, and the palace itself provides enough detail to occupy a visit without adding distant attractions. Check which sections are accessible on arrival and follow the route permitted on the day; access can vary with court use or events, so avoid building a tightly timed itinerary around every interior space.

After the palace, choose one extension based on what you want to understand. Tamansari suits a closer look at the royal landscape and its surviving water structures. The northern Tugu suits a broader reading of the city’s axis, though it stands amid busy roads and is better viewed with care from a safe public vantage. Panggung Krapyak completes the southward counterpart, but it requires a separate move through the city. These are distinct stops, not rooms in one large attraction.

In rainy weather, open courtyards and paved approaches can feel different from shaded interior spaces, and wet surfaces call for slower walking. On a warm bright day, the open parts of the palace offer less shelter than the enclosed pavilions. Comfortable walking footwear is useful because the visit involves moving between courtyards and streets. Leave time to pause rather than treating the route as a race between landmarks; the relationships among places are the point of following Hamengkubuwono I’s city.

If the day also includes Prambanan, treat it as a separate excursion beyond the royal centre rather than an adjacent stop. Prambanan is a monumental complex with a different history, and it is best kept distinct: the Keraton explains Yogyakarta’s court and capital, while Prambanan belongs to a different historical and architectural setting.

Questions visitors ask about Hamengkubuwono I

Was Hamengkubuwono I the same person as Prince Mangkubumi?

Yes. Mangkubumi was the prince who became the first Sultan of Yogyakarta after the 1755 Giyanti settlement. Hamengkubuwono I is the royal title by which he is generally known in the history of the sultanate and city.

Is the present Keraton the palace he founded?

The Keraton occupies the royal centre established under Hamengkubuwono I, and palace construction began in 1755 and the main complex was finished in 1756. The complex has continued as a royal institution, so the present visitor encounters an accumulated site rather than an untouched eighteenth-century snapshot.

Can the Tugu, Keraton and Panggung Krapyak be seen in one visit?

They can be included in a city itinerary, but they are separate urban locations along a north–south alignment. The palace merits its own time; the monuments require travel between street settings, with traffic and walking conditions affecting the route.

What is the difference between the Keraton and Tamansari?

The Keraton is the central royal palace and court complex. Tamansari is a separate royal garden and retreat complex nearby, associated with water features and enclosed spaces. Visiting both gives a fuller picture of the court landscape, but they are not one continuous attraction.

Why his legacy remains visible

Hamengkubuwono I’s legacy survives in the connection between political settlement, royal institution and urban form. The Giyanti agreement established the new sultanate; the Keraton gave it a centre; the city’s north–south composition linked that centre to landmarks at either end. Tamansari adds a different layer, showing how the court’s environment extended beyond formal government and residence.

Visitors do not need specialist knowledge to follow this history. Start with the palace as the core, then decide whether the Tugu and Panggung Krapyak axis or the garden at Tamansari answers the question that interests you. Keeping those places distinct makes the visit clearer: each reveals a different part of the city Hamengkubuwono I founded, and together they make his role more tangible than a name and date alone.

Related guides: plengkung gading, Hamengkubuwono VIII and the Yogyakarta palace, Pangeran Mangkubumi founded the Yogyakarta Sultanate, javanese keris, Yogyakarta Sultanate History: Palaces, Treaty and Sultans.