The epic Mahabharata mentions that the king of the name Asmaka was the adopted son of Saudasa alias Kalmashapada a king of Kosala and an Ikshwaku ruler.