stri-sukham karmanaprajah
atah-in this way; urdhvam-in the near future; sah-he, the King; tatyaja-gave up; stri-sukham-the happiness of sexual intercourse; karmana-by destiny; aprajah-remained sonless; vasisthah-the great saint Vasistha; tat-anujnatah-being permitted by the King to beget a son; madayantyam-in the womb of Madayanti, King Saudasa's wife; prajam-a child; adhat-begot.