Ellalan (எல்லாளன்; එළාර) was a member of the Tamil Chola dynasty in Southern India, also known as "Manu Needhi Cholan", who upon capturing the throne became king of the Anuradhapura Kingdom, in present-day Sri Lanka, from 205 BCE to 161 BCE.
Ellalan is traditionally presented as being a just king even by the "'Sinhalese'". The Mahavamsa states that he ruled 'with even justice toward friend and foe, on occasions of disputes at law, and elaborates how he even ordered the execution of his son for killing a calf under his chariot wheels.
Ellalan is a peculiar figure in the history of Sri Lanka and one with particular resonance given the past ethnic strife in the country. Although he was an invader, he is often regarded as one of Sri Lanka's wisest and most just monarchs, as highlighted in the ancient Sinhalese Pali chronicle, the Mahavamsa.
According to the chronicle, even Ellalan's nemesis Dutugamunu had a great respect for him, and ordered a monument be built where Ellalan was cremated after dying in battle. The Dakkhina Stupa was believed to be the tomb of Ellalan. Often referred to as 'the Just King', the Tamil name Ellāḷaṉ means 'the one who rules the boundary".
Ellalan is described in the Mahavamsa as being "A Damila of noble descent . . . from the Chola-country"; In that work, he is mentioned as Elara. Little is known of his early life. Around 205 BCE, Ellalan mounted an invasion of the Rajarata based in Anuradhapura in northern Sri Lanka and defeated the forces of king Asela of Anuradhapura, establishing himself as sole ruler of Rajarata. Ellalan's territory is said to have been to the north of the Mahaweli River
He has been mentioned in the Silappatikaram and Periya Puranam. His name has since then been used as a metaphor for fairness and justice in Tamil literature. His capital was Thiruvarur.
Despite Ellalan's famously even-handed rule, resistance to him coalesced around the figure of Dutugamunu, a young Sinhalese prince from the kingdom of Mahagama.