The "Mahavamsa" states that Devi gave birth to Ashoka's son Mahinda in Ujjain, and two years later, to a daughter named Sanghamitta. According to the "Mahavamsa", Ashoka's son Mahinda was ordained at the age of 20 years, during the sixth year of Ashoka's reign. That means, Mahinda must have been 14 years old when Ashoka ascended the throne. Even if Mahinda was born when Ashoka was as young as 20 years old, Ashoka must have ascended the throne at the age of 34 years, which means he must have served as a viceroy for several years.