One verse

Srimad Bhagavatam 9.18.3

9.18.3

पितरि भ्रंशिते स्थानादिन्द्राण्या धर्षणाद्द्विजै: । प्रापितेऽजगरत्वं वै ययातिरभवन्नृप: ॥ ३ ॥

pitari bhramsite sthanad indranya dharsanad dvijaih prapite ’jagaratvam vai yayatir abhavan nrpah

pitari
when his father
bhramsite
was caused to fall down
sthanat
from the heavenly planes
indranyah
of Saci, the wife of Indra
dharsanat
from offending
dvijaih
by them (upon her lodging a complaint with the brahmanas)
prapite
being degraded to
ajagaratvam
the life of a snake
vai
indeed
yayatih
the son named Yayati
abhavat
became
nrpah
the king.

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 planes and be degraded to the status of a python. Consequently, Yayati became the king.