At the age of 18, when Ashoka became the Viceroy
of Ujjain, and entered the province to curb a revolt,
he came in contact with a merchant's daughter.
She was quite different from the other girls and
very compassionate towards other people
including the poor and animals. This quality of
hers attracted Ashoka so much that he fell in love
with her.
The two married and after 2 years of their
marriage, a son was born to them - Mahendra.
Devi was from VIdisha and she continued to stay
there forever. She never went to Patliaputra with
her husband and so both of her children Mahendra
and Sanghamitra grew up in VIdisha itself.
Ashoka Met Kaurwaki Later When
He Was Sent to Kalinga in exile
After curbing the revolt of Ujjain when Rajkumar
Ashoka came to Pataliaputra, Rajkumar Sushim
was jealous that everybody including his father
Samrat Bindusar is happy with him. He then
executed a plan in which Ashoka was sent to exile
in Kalinga. It was in Kalinga that Ashoka met
Kaurwaki. So the meeting of Ashoka and Karuvaki
was much later unlike shown. When he met
Karuvaki, he was already married to Devi.