Mahanama was King of Anuradhapura in the 5th century, whose reign lasted from 412 to 434. He succeeded his brother Upatissa I as King of Anuradhapura and was succeeded by his son Soththisena. According to the chronicles at first, this Mahanama was a monk and had an illicit relationship with the queen of Upathissa I. Then with the help of the queen he killed Upathissa and become king while placing the Queen of King Upathissa as his queen too. Anyway, after being king he has deeply devoted himself to Buddhism.