 According to Buddhist texts, after Buddha's Mahaparinirvana, his cremated remains were divided and distributed among the princes of eight of the sixteen mahājanapadās.Each of the princes constructed a stupa at or near his capital city, within which the respective portion of the ashes was enshrined.One of them was Rāmagrāma, a major city of the Koliya kingdom (this settlement is sometimes referred to as "Koliyanagara") at that time.