MoggallÃÂna I was King of Anuradhapura in the 6th century, whose reign lasted from 497 to 515. After defeating his brother Kashyapa I in a civil war, he replaced Kashyapa as King of Anuradhapura, and was succeeded by his son Kumara Dhatusena.
Under his reign there were two schools of TheravÃÂda Buddhism: the Dhammaruci (Joy in the Dhamma), living in the Maha-vihara, and the SÃÂgali School. The latter school had monks (bhikkhu) as well as nuns (bhikkhuni). MoggallÃÂna I "built a shelter for (them and) called it RÃÂjinë" (Queens [abode]).