Kasyapa of Sigiriya Who Built Sigiriya Rock Fortress?

lotus flow - kasyapa

Photo: Lotus flower in a pond at Sigiriya

King Kasyapa (Kashyapa) is best remembered for constructing the breathtaking Sigiriya Rock Fortress in central Sri Lanka, a 5th-century marvel with stunning gardens, frescoes and Sky Palace atop a massive 600ft high pillar of solid rock. Kasyapa ruled the Anuradhapura Kingdom in Sri Lanka from 473 to 495 CE. His story is not just about grandeur but also of palace intrigue, patricide, and personal tragedy. Today, Sigiriya, Kasyapa's masterpiece, stands as a UNESCO World Heritage Site and a testament to a historical figure who left an indelible mark on the world's cultural heritage.


Sigirya Novel book cover

Palace intrigue, passion, deceit, betrayal and tragedy. Set fifteen hundred years ago, this compelling novel weaves historical facts into a remarkably entertaining story of fate, dangerous alliances, enduring friendships, and forbidden love. Available in Ebook and Paperback.

Where to Buy This Book

Note: We spell this king's name as ‘Kasyapa’, not ‘Kashyapa’ ( ‘…sh…’ is Sanskrit or Sanskritised Sinhala, rarely used in contemporary writing, though the 's' is pronounced ‘sh’).

Kasyapa Early Years

Kasyapa was the son of King Dhatusena the first king of the Moriyan Dynasty. Dhatusena had initially trained to become a Buddhist monk but took up arms to liberate his people from foreign invaders. During a grueling ten-year guerrilla campaign, Dhatusena took up a relationship with a lower caste village girl and had a son named Kasyapa. Upon becoming king, Dhatusena discarded his low-caste lover and married a woman of a royal bloodline. Kasyapa however, was brought to the palace grew up there. Despite being the eldest son, Kasyapa was not considered the heir apparent because of his non-royal birth status. Instead, his younger brother Moggallana, born to the royal queen, was next in line for the throne.

Kasyapa Murders his Father

Many years later, Dhatusena earned the wrath of the chief of his army Migara, who was his nephew and also his son-in-law, by murdering Migara's mother, who was also Dhatusena's sister. Enraged by the murder of his mother, Migara estranged Kasyapa from his father by exploiting Kasyapa's deep-felt resentment for being overlooked as the heir apparent. Together they overthrew Dhatusena, and Kasyapa seized the throne. Prodded on by a vengeful Migara, Kasyapa ordered Migara to rid him of his father. After humiliating Dhatusena, Migara had him buried alive in the wall of his prison cell. The younger Moggallana, fearing for his life, fled to India.


Story of Sigirya book cover

Immerse yourself in the fascinating history of Sigiriya in this beautifully illustrated book. In Part 1 travel back in time and meet the key players who shaped the rock fortress's history. Part 2 contains a comprehensive Site Guide with hundreds of photographs and descriptions of the ruins.

Where to Buy This Book

Rejected by the People

Kasyapa did not personally kill his father. But the mere fact that he may have been a part of the plot meant that he had committed a cardinal sin in Buddhism—that of intentionally murdering one's father. Unable to redeem himself with the Buddhist clergy and his people, he grew increasingly fretful. He performed many good works and acts of repentance, but the Buddhist clergy and the people rejected all these. Finally, wary of this rejection, he abandoned his majestic capital city of Anuradhapura and set out to build himself a new capital far away from the disapproving masses. Here he hoped he would find solace for his troubled mind.

The Inspiration for Sigiriya

View of Sigiriya Rock from across the lake

Photo: View of Sigiriya Rock

The inspiration for Kasyapa's new city was the mystical city of Alakamanda. In Buddhist mythology, Alakamanda was said to be the wealthiest and most beautiful city imaginable. It was a city of the gods built amongst the clouds. Alakamanda was ruled by Kuvera, the god of wealth and plenty. Thus inspired, Kasyapa set about creating his version of an earthly paradise.

Kasyapa choose an area deep in the inhospitable forests of north-central Sri Lanka as the site for his new city. The most dominant feature of the area was a massive rock, which rose vertically to a height of nearly 600 feet. Here he would build his city and a magnificent sky palace on top of this rock. Kasyapa found his inspiration and the perfect location for his new city.

Kasyapa Builds Sigiriya

Artist's impression of Sigiriya with Frescoes

Photo: Artist's impression of Sigiriya with Frescoes

Monarchs of Sri Lanka were usually constrained by their Buddhist faith from indulging in acts of self-indulgence. Consequently, there are no significant structures in Sri Lanka built in the glorification of a king. Having being rejected by the religious establishment, however, Kasyapa no longer felt bound by these constraints. He chose, therefore, to use the vast wealth and resources of his kingdom to create an extravagant masterpiece for himself.

The centerpiece of the new city was the royal citadel with beautiful tropical gardens with extensive water features. He painted the once sinister-looking rock white and then created a spectacular multi-colored tapestry which we know today as the Sigiriya Frescoes. He built a massive gatehouse and staircase, the Lion Staircase, to guard the final entrance to his gleaming white Sky-Palace in the clouds.

Kasyapa's Idyllic but Tormented Life

Surrounded by his royal court and his harem and far away from the hustle and bustle of the capital city Kasyapa lived an idyllic existence at Sigiriya. He encouraged the arts and enjoyed poetry. However, being a sensitive man, he was deeply troubled by his responsibility for the death of his father. We are told that he diligently carried out his religious duties, no doubt hoping to find some salvation for his troubled conscience.

Confrontation between Kasyapa and Moggallana

War elephant

Photo: Royal war elephant

In about the fourteenth year of Kasyapa's rule, Migara, angry that Kasyapa did not permit him to conduct a large religious festival, secretly switched his allegiance from Kasyapa to his younger brother Moggallana. On hearing this news, Moggallana, who had been languishing in India, clandestinely returned with a ragtag collection of friends and hangers-on and set up camp in a distant part of the country.

When Kasyapa got wind of his brother's return, he decided immediately to confront Moggallana head-on. Ignoring the dire warning of his soothsayers who predicted disaster, he left the relative safety of his fortress at Sigiriya to confront Moggallana.

He had reason to be confident he had a large army controlled by Migara, his brother-in-law and accomplice.

The Death of Kasyapa

Mounted on his mighty war elephant, the king led his army into battle. Migara followed close behind. Sensing a swamp ahead of him, Kasyapa turned his elephant away to find firmer ground. At this very moment, Migara put his defection plan into play. He signaled the army to retreat. The king's grand army broke and fled. Abandoned and alone, Kasyapa unsheathed his jewel-encrusted dagger and placed its cold blade against his neck. Quickly he drew it across his neck and slit his throat. All was quiet now. The royal elephant stood listless; its magnificent trappings strained crimson with the king's blood.

Moggallana, still respectful of his fallen older brother, accorded him a royal cremation. The stupa at Pidurangala is believed to mark the spot where Kasyapa was cremated.

Related Article: Pidurangala Rock Temple — Resting Place of the King who built Sigiriya?


Kasyapa was a much-maligned but gentle ruler. There are no records of any other transgressions committed by him. He was an artistic soul caught up in dynastic intrigue, deceit, and betrayal. We do not know if he found solace in the afterlife. We do know, however, that his masterpiece at Sigiriya has stood for over a one thousand six hundred years and brought him immortality.