The Shah dynasty ruled Nepal from 1559 to 2008, and for the 240 years between 1768 and 2008 it made Pashupatinath the country’s de facto royal temple — the site where kings were legitimized, where fortresses and land were dedicated in Shiva’s name, and where, again and again, the royal family itself was cremated. No other era changed Pashupatinath’s political identity as sharply as this one. The Mallas built the temple standing today; the Shahs turned it into the spiritual center of a unified nation-state, a role it held through war, regicide, exile, revolution, and finally the abolition of the monarchy itself. This page covers that full arc — from the Gorkha conquest of 1768–69 through two and a half centuries of royal patronage, drama, and crisis, to the end of Shah rule in 2008.
This entry is part of our History guide. For what came immediately before, see Malla Era; for the century of prime-ministerial rule that unfolded within this same dynasty, see Rana Period; for what followed the monarchy’s end, see Modern Nepal. For the complete chronology in one place, visit Timeline or the cross-era Temple Timeline in our About Pashupatinath guide.
Quick Answer: The Shah Era at a Glance
| Period | Development |
|---|---|
| 1559 CE | The Shah line is founded in the small hill kingdom of Gorkha |
| 1743–1775 | Reign of Prithvi Narayan Shah, unifier of Nepal |
| 1768 CE | Gorkha forces take Kathmandu during Indra Jatra; the last Malla king, Jayaprakash Malla, later dies in refuge at Pashupatinath |
| 1768–1769 | Patan and Bhaktapur fall; Kathmandu becomes the capital of a unified Nepal |
| 1775–1806 | Reign (and later abdication and assassination) of Rana Bahadur Shah |
| 1797 | Prince Bahadur Shah, Prithvi Narayan Shah’s son, dies at Aryaghat near the temple |
| 1797–1816 | Girvan Yuddha Bikram Shah dedicates four fortresses in Pashupatinath’s name, expanding the temple estate to over a square mile |
| 1846 | Jung Bahadur Rana’s rise begins nearly a century of hereditary prime-ministerial rule under nominal Shah kings |
| 1951 | The Shah monarchy regains executive power after the overthrow of Rana rule |
| 1956 | Nepal’s Ancient Monuments Preservation Act formally protects the site |
| 1972–2001 | Reign of King Birendra |
| 1979 | Pashupatinath inscribed as part of the Kathmandu Valley UNESCO World Heritage Site |
| 1986 | Pashupati Area Development Trust (PADT) established, with King Birendra as first chief patron |
| 2001 | The Nepalese royal massacre; King Birendra and Queen Aishwarya cremated at Aryaghat |
| 2008 | Nepal’s monarchy is formally abolished, ending 449 years of Shah rule |
The sections below unpack each of these developments in order.
Founding a Dynasty in Gorkha
The Shah line traces back to 1559 CE, when Drabya Shah established the small hill principality of Gorkha, west of the Kathmandu Valley. For two centuries Gorkha remained a minor player among the region’s competing hill states, occasionally allying with — and occasionally warring against — the three Malla kingdoms of the valley. Nothing about Gorkha’s early history suggested it would eventually absorb and rule the valley whose temples, including Pashupatinath, it would come to treat as central to its own legitimacy. That changed entirely with the reign of one king.
Prithvi Narayan Shah and the Conquest of the Valley
Prithvi Narayan Shah ascended Gorkha’s throne in 1743 at age twenty and spent the next quarter-century pursuing a single, singular ambition: uniting the fractured Kathmandu Valley — by then split since 1482 into the rival Malla kingdoms of Kathmandu, Patan, and Bhaktapur, as covered on our Malla Era page — under one crown. After years of economic blockade and calculated alliances, his forces took Kathmandu on 25–26 September 1768, entering the city during the Indra Jatra festival when its defenses were relaxed and, according to several accounts, aided by defections among the Malla court’s own nobles. Patan fell within days, and Bhaktapur followed by 1769, completing the conquest.
The human aftermath of that conquest connects directly to this temple. Jayaprakash Malla, the last Malla king of Kathmandu, fled to Bhaktapur for a final stand alongside the kings of the other two cities; when that, too, collapsed, he retreated into religious refuge — and died at the shrine of Pashupatinath, the very temple centuries of his own dynasty had rebuilt and enriched. It is difficult to find a more direct symbolic hinge in this temple’s history: the Malla era’s architectural legacy and the Shah era’s political one meet, quite literally, at the same physical site.
With the valley secured, Prithvi Narayan Shah moved his capital to Kathmandu in 1769, and Pashupatinath’s status shifted immediately from a temple shared uneasily among three rival city-kingdoms to the primary religious seat of a single, unified Nepal. For the king’s own account of the philosophy behind this unification — including his famous description of Nepal as a “yam between two boulders,” caught between imperial China and British India — see our Kings page.
Rana Bahadur Shah: Devotion, Scandal, and Exile
Nepal’s third king, Rana Bahadur Shah (reigned 1775–1799, died 1806), is remembered as one of the most volatile figures in the entire dynasty — and one whose personal story is unusually entangled with Pashupatinath itself. Chronicles record that he first encountered Kantavati Devi Jha, a young Brahmin widow, when she came to the temple to observe Shivaratri; his infatuation with her, and his eventual marriage to her against convention, reshaped the royal succession entirely. After Kantavati’s death, a grief-stricken and increasingly erratic Rana Bahadur Shah ordered the destruction of religious statues across the valley, then abdicated in 1799 in favor of their infant son and adopted the title of an ascetic, Swami Maharaj — before abandoning that role, fleeing into exile in Varanasi amid a power struggle, and eventually returning to Kathmandu in 1804 to reclaim de facto authority.
He did not hold it long. On 25 April 1806, Rana Bahadur Shah was assassinated by his own half-brother during a confrontation at the royal palace. His death triggered the Bhandarkhal massacre, in which the regent-general Bhimsen Thapa’s allies killed dozens of rival nobles in retaliation — reportedly vowing, in the moment he learned of the king’s death, that he would line the road from the palace to Pashupatinath with funeral pyres. The episode marks the beginning of nearly a century in which real power in Nepal would rest not with the reigning Shah king, but with a hereditary chief minister — a shift that fully crystallized four decades later with the rise of the Rana Period.
This was not the only royal death connected to the temple during this turbulent stretch. In 1797, Prince Bahadur Shah, a son of Prithvi Narayan Shah and a former regent who had fallen out of royal favor, died at Aryaghat, the cremation ghat immediately beside the temple, after months of imprisonment and torture on politically motivated charges. Together, these episodes established Aryaghat’s association with royal death and cremation well before it became the site’s most famous role in the 20th century.
Girvan Yuddha Bikram Shah: Expanding the Temple Estate
Rana Bahadur Shah’s son, Girvan Yuddha Bikram Shah, ascended the throne at eighteen months old and reigned, under the regency of Queen Tripurasundari and Prime Minister Bhimsen Thapa, from 1799 until his death from smallpox in 1816 at age nineteen. Despite his short life, his reign left a lasting physical mark on Pashupatinath: at the beginning of the 19th century, he dedicated four fortresses near the temple in Pashupatinath’s name, expanding the temple’s total estate to a little over one square mile — a scale of land endowment unmatched by any single act before it. Records from his father’s reign already describe formal trusts managing worship at the temple, and Girvan Yuddha’s own charitable grants, including land endowments under the guthi system to priests at other Shiva sites associated with the crown, reflect a broader Shah-era pattern: royal legitimacy was expressed, concretely, through land given to religious institutions, with Pashupatinath as the most prestigious recipient in the kingdom.
His reign also saw Nepal fight and lose the Anglo-Nepalese War (1814–1816) against the British East India Company, resulting in the Treaty of Sugauli and the loss of substantial western and eastern territories — a reminder that even as royal patronage of Pashupatinath deepened, the kingdom itself faced serious external pressure throughout this period. For more on Nepal’s 19th-century political history beyond the temple itself, see our Kings and Stories & Legends pages.
The Rana Century: Shah Kings as Figureheads
In 1846, a palace massacre known as the Kot Massacre brought Jung Bahadur Rana to power as hereditary prime minister, beginning nearly a century in which Shah kings retained the throne in name while the Rana family held actual executive authority. Pashupatinath continued to be maintained and patronized throughout this period — the temple’s religious and symbolic importance to the Shah crown did not diminish simply because the crown itself had been sidelined politically — but the era’s defining institutions and personalities belong to the Ranas rather than the Shahs directly. That century is covered in full on our dedicated Rana Period page; here, it is enough to note that the Shah dynasty survived it intact, and that Pashupatinath’s role as the kingdom’s royal temple persisted across the transition, since it was never contested — only the question of who actually governed in the Shah kings’ name.
Rana rule ended in 1951, when a popular movement, aided by King Tribhuvan, restored executive power to the Shah throne — the point at which the dynasty’s second, and more familiar, chapter as an actively governing monarchy begins.
The 20th-Century Monarchy: Formal Protection and International Recognition
The restored Shah monarchy oversaw two of the most consequential developments in Pashupatinath’s modern institutional history. In 1956, Nepal’s Ancient Monuments Preservation Act formally protected the site under national law for the first time, placing its conservation on a statutory footing rather than relying solely on royal discretion. Then, in 1979, Pashupatinath was inscribed as one of the monument zones making up the Kathmandu Valley UNESCO World Heritage Site — a designation covered fully on our UNESCO page — cementing the temple’s status not just as Nepal’s royal shrine but as a site of recognized global heritage value.
Under King Birendra (reigned 1972–2001), this institutional formalization went a step further: in 1986, the Pashupati Area Development Trust (PADT) was established, with King Birendra himself serving as its first chief patron. PADT remains the body responsible for the temple’s day-to-day administration and conservation to this day, a structure that professionalized what had, for two centuries, been managed largely through informal royal trusts and guthi land grants. For more on how PADT and Nepal’s Department of Archaeology jointly manage the site today, see our Temple Complex and Modern Nepal pages.
Aryaghat: The Royal Cremation Ground
No single feature of Pashupatinath’s physical layout is more closely tied to the Shah dynasty than Aryaghat, the cremation ghat directly beside the main temple. Custom, reinforced across the entire Shah era, reserved Aryaghat’s two cremation platforms for members of the royal family and the country’s most senior officials — ordinary cremations took place at other ghats along the Bagmati. This was not a minor courtesy: it meant that, from Prince Bahadur Shah’s death there in 1797 through to the very end of the monarchy, the Shah dynasty’s most solemn moments played out in full public view, on the banks of the river immediately beside the temple that legitimized their rule.
That tradition reached its most consequential and widely witnessed moment in June 2001, when King Birendra, Queen Aishwarya, and several other members of the royal family were killed in the Nepalese royal massacre at Narayanhiti Palace. Their bodies were cremated at Aryaghat before enormous public crowds, broadcast live across the country — an event that, however tragic, reaffirmed just how central this specific stretch of riverbank had remained to Nepali statehood, even at the close of the dynasty’s history. The temple’s Cremation Area and broader Ghats are covered in more detail on our Temple Complex pages, and the ritual dimension of these funeral rites is discussed further on our Funeral Rituals and Shraddha pages.
The End of the Shah Dynasty: 2008
Following the 2001 massacre, Gyanendra — Birendra’s brother — assumed the throne, but his reign coincided with escalating political crisis, including a Maoist insurgency and, in 2005, his own assumption of direct executive power, which provoked mass pro-democracy protests. In 2008, Nepal’s newly elected Constituent Assembly voted to abolish the monarchy altogether, formally ending 449 years of Shah rule and declaring Nepal a federal democratic republic. Gyanendra vacated the Narayanhiti Palace shortly afterward.
For Pashupatinath, the abolition of the monarchy raised a genuine institutional question — the temple’s royal patron no longer existed — but its answer had, in effect, already been built in 1986: PADT’s trust structure, with the Prime Minister now serving as chief patron in place of the king, meant the temple’s administration continued largely uninterrupted. Pashupatinath’s national symbolism, in other words, proved durable enough to outlast the crown that had spent two and a half centuries cultivating it. What followed — Nepal’s transition to a secular republic, the 2015 earthquake, and the temple’s present-day management — is covered on our Modern Nepal and Earthquake Restoration pages.
The Shah Legacy at Pashupatinath
Unlike the Malla Era, which reshaped the temple’s physical form, the Shah dynasty’s legacy at Pashupatinath is overwhelmingly institutional and symbolic rather than architectural. The Shahs did not rebuild the pagoda or its gold roof — that work was essentially finished before Prithvi Narayan Shah ever reached Kathmandu. What they built instead was Pashupatinath’s national identity: the transformation of a valley temple, shared uneasily among three rival Malla courts, into the singular royal and spiritual anchor of a unified Nepal. Land grants under Girvan Yuddha Bikram Shah, formal trusts recorded from Rana Bahadur Shah’s reign, statutory protection in 1956, UNESCO recognition in 1979, and PADT’s founding in 1986 all belong to this same, two-and-a-half-century-long project of formalizing the crown’s relationship to the temple — a project so successful that it outlived the monarchy itself. Even today, with no king to serve as patron, Pashupatinath functions as Nepal’s national shrine in a sense first established during this era, discussed further on our Why is Pashupatinath Famous? page.
Frequently Asked Questions
How long did the Shah dynasty last? From 1559, when Drabya Shah founded the Gorkha kingdom, until 2008, when Nepal’s monarchy was formally abolished — 449 years, though the dynasty only began ruling the Kathmandu Valley and Pashupatinath directly after the 1768–1769 conquest.
Did the Shah kings build the temple structure seen today? No. The temple’s present two-tiered gold pagoda dates from the Malla era’s final reconstruction in 1692–1697. The Shah dynasty’s contribution was land, patronage, and institutional formalization rather than construction.
Why is Aryaghat associated with Nepal’s royal family? Custom throughout the Shah era reserved Aryaghat, the cremation ghat beside the main temple, for royal family members and senior officials, a tradition documented from Prince Bahadur Shah’s death there in 1797 through King Birendra’s cremation in 2001.
What happened to Pashupatinath after the monarchy was abolished in 2008? The temple’s administration was largely unaffected, since the Pashupati Area Development Trust, established in 1986, already provided a formal management structure independent of the crown; the Prime Minister now serves as chief patron in place of the king.
When did Pashupatinath become a UNESCO World Heritage Site? In 1979, during King Birendra’s reign, as one of seven monument zones inscribed collectively as the Kathmandu Valley World Heritage Property.
Who was the last Malla king, and what happened to him after the Shah conquest? Jayaprakash Malla, the last king of Kathmandu, fled the Gorkha conquest of 1768 and died in religious refuge at the shrine of Pashupatinath itself.
For more direct answers, see our full FAQ section.
Where to Go Next
- Malla Era — the architectural foundation the Shahs inherited
- Rana Period — the century of prime-ministerial rule within this same dynasty
- Modern Nepal — what followed the monarchy’s abolition in 2008
- Timeline and Temple Timeline — the complete chronology across every era
- UNESCO — full details on the 1979 World Heritage designation
- Kings — profiles of the rulers named on this page
- Temple Complex, Ghats, and Cremation Area — Aryaghat and the site’s physical layout
- Funeral Rituals and Shraddha — the ritual traditions tied to Aryaghat
- Why is Pashupatinath Famous? — how royal patronage shaped the temple’s national symbolism
- Research Papers, Books, and Sanskrit References — scholarly sources behind this page
This entry is part of our History guide, covering the complete narrative of Pashupatinath Temple across the Kirat, Licchavi, Malla, Shah, and Rana eras.
The Pashupatinath is an independent devotional and cultural resource. It is not the official website of the Pashupati Area Development Trust (PADT) or the Government of Nepal. For official temple notices, consult PADT directly.