Discover the hidden spring and ancient devala shrine of Gallinda, where legend says King Mahasen struck the earth with his golden sword to unleash life-saving water. Deep in Sigiriya’s jungle, this sacred site preserves centuries of faith, folklore, and Sri Lanka’s earliest irrigation heritage.
While Sigiriya is celebrated for its artistic brilliance, the surrounding forest shelters another remarkable piece of history—a sacred spring and shrine dedicated to a king who quite literally brought water to the wilderness: King Mahasen (reign c. 276–302 CE).
Known locally as Diyawara Deviyo (the God of Water), King Mahasen is remembered for initiating a transformative irrigation era. Yet the story of his divinity and the origins of the Gallinda well survives mainly through local legend—a blend of hardship, faith, and ingenuity.
The Gallinda Well: A Miracle of the Golden Sword
The story of the Gallinda well begins around 1,700 years ago, roughly 150 years before the rise of the Sigiriya kingdom.
According to folklore, King Mahasen left Anuradhapura after public anger over the destruction of the Maha Viraha Monastic Complex. While travelling through the dense forest near present-day Gallinda Hill, he and his troops faced a severe drought. Their water was depleted, and the expected flow of the Keeri Oya had nearly vanished, leaving the group close to death.
Seeing his soldiers on the brink of collapse, the king walked along the dried waterway carrying his golden sword. He noticed a patch of unusually fresh green grass amid the dry riverbed. Cutting away the grass and lifting the stone crust beneath it, he revealed a powerful jet of water that surged skyward. Overcome with relief, the king burst into loud laughter. The spring became known as Gallinda—meaning Stone Well—because it emerged directly from the rock.
This discovery was more than a moment of rescue; it fueled King Mahasen’s ambitious irrigation program, which he had begun to regain public trust. He encountered Gallinda while travelling to construct Nuwaragala Wewa (now the Maduru Oya Reservoir). The king declared the site a “victory ground” and briefly resided there while planning the Great Minneriya Reservoir, making Gallinda the spiritual birthplace of one of Sri Lanka’s most renowned water systems.
Gallinda and the Purana Mahasen Devalaya
The Gallinda spring and the Gallinda Purana Mahasen Devalaya lie deep within the forest, a short distance from the main Habarana–Polonnaruwa road. Access to Gallinda begins from the Sigiriya Road, which branches off Moragaswewa Road. The turnoff to the ancient shrine is located 5.5 km (3.4 miles) from Moragaswewa and 7.2 km (4.5 miles) if you start from Sigiriya Lake. A small gravel path continues for 200 meters into the jungle, where the Devalaya stands. A separate gravel track to the right leads another 125 meters to the ancient Gallinda well.
What Can Be Found There?
At the Devalaya:
This is a spiritual center for the Minneriya community, where rituals and traditions honoring King Mahasen as Diyawara Deviyo are preserved. It remains a place of prayer and ceremony deeply connected to the agricultural life of the region.
At the Gallinda Well:
The spring itself continues to be revered. Local communities believe its uninterrupted flow for more than 1,700 years stands as evidence of the king’s miraculous act and enduring divine power.
References
- Gunsinghe, S. (2021, October 9). අතරමංවූ මහසෙන් රජුට වතුර බොන්න මතුවූ ගල්ළිඳ. Lankadeepa. Retrieved December 1, 2025, from https://www.lankadeepa.lk/sunday/rasawitha/අතරමංවූ-මහසෙන්-රජුට–වතුර-බොන්න-මතුවූ-ගල්ළිඳ/57-600545
- Mahaweli Consultancy Bureau (Pvt) Ltd. (2014). Environmental Impact Assessment : SRI: Mahaweli Water Security Investment Program: Upper Elehara Canal (UEC). Ministry of Irrgation and Water Resources Management, Government of Sri Lanka.
Also See
Map of Sigiriya Gallinda Purana Mahasen Devalaya
The map above also shows other places of interest within a approximately 20 km radius of the current site. Click on any of the markers and the info box to take you to information of these sites
Zoom out the map to see more surrounding locations using the mouse scroll wheel or map controls.
Travel Directions to Sigiriya Gallinda Purana Mahasen Devalaya
| Route from Sigiriya to Gallinda Purana Mahasen Devalaya |
| Through : Habanarana-Minneriya Road Distance : 7.5 km Travel time : 15 mins Driving directions : see on Google Maps |
0-09 m (89) 10-19 m (77) 20-29 m (47) 30-39 m (50) 40-49 m (25) 50-99 m (50) Ambalama (176) Ancient Anicuts (35) Articles (0) Asanaghara (8) Ashtapala Bodhi (5) Attraction Articles (3) Attractions (266) Beaches (10) Biosphere Reserves (3) Botanical Gardens (5) Bridges (35) Cave Art (13) Caving (7) Churches (30) Cities (9) Destinations (18) Dethis Pala Bodhi (27) Devalaya (51) Events (3) Flora and Fauna (82) Forts (52) Heritage (1918) Heritage Articles (27) Historic Events (7) History (7) Hot Springs (9) Hydro Heritage (104) Irrigation Articles (4) Islands (15) Kings of Sri Lanka (188) Kovils (29) Kuludage (11) Lighthouses (29) Memorials (57) Mile Posts (6) Misc (1) Mosques (4) Museums (15) National Parks (24) over 100 m (20) Pabbatha Vihara (13) Padhanagara (27) Personalities (211) Pillar/Slab Inscriptions (48) Popular Tourist Attractions (231) Pre Historic Burial Sites (22) Prehistory (42) Prehistory Articles (2) RAMSAR sites (6) Ravana (16) Reservoirs (72) Rock Inscriptions (36) Ruins in Wilpattu (11) Ruins in Yala (25) Santuaries (7) Sluice Gates (17) Stone Bridges (18) Strict Nature Reserves (3) Sumaithangi (3) Survey Towers (18) Tampita Vihara (242) Travel (5) View Points (24) Walawwa (13) War Memorials (26) Waterfalls (380) Wildlife Articles (28) Yathuru Pokuna (4)
Abhayagiri Monastery (20) Ampara District (196) Anuradhapura District (240) Badulla District (123) Batticaloa District (86) Colombo District (123) Galle District (76) Gampaha District (63) Hambantota District (124) Jaffna District (77) Kalutara District (53) Kandy District (217) Kegalle District (165) Kilinochchi District (13) Kingdom of Anuradhapura (88) Kingdom of Kandy (19) Kingdom of Kotte (9) Kingdom of Polonnaruwa (58) Kurunegala District (183) Maha Vihara (18) Mannar District (47) Mannar Island (10) Matale District (94) Matara District (53) Mihintale (22) Monaragala District (113) Mullaitivu District (39) Negombo (5) Nuwara Eliya District (126) Polonnaruwa District (138) Puttalam District (43) Ratnapura District (177) Trincomalee District (80) Vavuniya District (34) waterfalls in Sinharaja (3) z Delft 1 (5) z Jaffna 1 (20) z Jaffna 2 (26) z Jaffna 3 (14)



