Because Nahusa, the father of Yayati, molested
Indra's wife,
Saci, who then complained to
Agastya and other brahmanas, these saintly brahmanas cursed Nahusa to fall from the heavenly planets and be degraded to the status of a python. Consequently, Yayati became the king.