Ganga’s condition
Shantanu is the king of Hastinapura and the father of Bhishma in the Mahabharata. His marriage to Ganga begins with a condition: she will live with him while he allows her to act freely and refrains from addressing her unkindly.
यत्तु कुर्यामहं राजञ्शुभं वा यदि वाऽशुभम्। न तद्वारयितव्याऽस्मि न वक्तव्या तथाऽप्रियम्।। एवं हि वर्तमानेऽहं त्वयि वत्स्यामि पार्थिव। वारिता विप्रियं चोक्ता त्यजेयं त्वामसंशयम्।।
“But, O monarch, thou must not interfere with me in anything I do, be it agreeable or disagreeable. Nor shalt thou ever address me unkindly. As long as thou shalt behave kindly, I promise to live with thee. But I shall certainly leave thee the moment thou interferest with me or speakest to me an unkind word.” — Mahabharata 1.104.6–7 (Adi Parva 98), tr. K. M. Ganguli
Ganga bears him eight sons. She throws the first seven into the river as soon as they are born. Shantanu is distressed but remains silent, fearing that his wife will leave him. At the eighth child, he intervenes:
मावधीः कस्य काऽसीति किं हिनत्सि सुतानिति। पुत्रघ्नि सुमहत्पापं संप्राप्तं ते सुगर्हितम्।।
“Slay it not! Who art thou and whose? Why dost thou slay thy own children? Murderess of thy sons, the load of thy sins is great!” — Mahabharata 1.105.11 (Adi Parva 98), tr. K. M. Ganguli
His protest breaks the condition. Ganga identifies herself and explains that their sons are the eight Vasus, compelled by Vashishta’s curse to assume human form. She leaves Shantanu and takes the surviving child away with her.
The son returned
The child Ganga takes away is Devavrata, later known as Bhishma. When she brings him back, she presents him to Shantanu as the eighth son he had saved. Her speech emphasizes the young man’s mastery of weapons:
यं पुत्रमष्टमं राजंस्त्वं पुरा मय्यविन्दथाः। स चायं पुरुषव्याघ्र सर्वास्त्रविदनुत्तमः।।
“O thou tiger among men, the eighth son that thou hadst sometime before begot in me is this one. Know that this excellent child is conversant with all weapons.” — Mahabharata 1.107.34 (Adi Parva 100), tr. K. M. Ganguli
Shantanu receives his son into the government of the kingdom. For its protection, he installs Devavrata as heir-apparent and associate on the throne. The child whose life prompted the king to challenge Ganga becomes his appointed successor.
Satyavati and the succession
Shantanu later wishes to marry Satyavati. Her father makes the marriage depend upon the succession: the son born of her must inherit Shantanu’s throne. The king desires the marriage but refuses to grant that condition and returns to Hastinapura in distress.
नाकामयत तं दातुं वरं दाशाय शान्तनुः। शरीरजेन तीव्रेण दह्यमानोऽपि भारत।। स चिन्तयन्नेव तदा दाशकन्यां महीपतिः। प्रत्ययाद्धास्तिनपुरं कामोपहतचेतनः।।
“O Bharata, when Shantanu heard this, he felt no inclination to grant such a boon, though the fire of desire sorely burnt him within. The king, with his heart afflicted by desire, returned to Hastinapore thinking all the way of the fisherman’s daughter.” — Mahabharata 1.107.58–59 (Adi Parva 100), tr. K. M. Ganguli
Bhishma undertakes to resolve the obstacle to his father’s marriage. He promises that Satyavati’s future son will be king, surrendering his own claim. He then adopts lifelong celibacy, extending the renunciation to any descendants of his own. His two promises secure the succession demanded by Satyavati’s father.
The gift of death at choice
Shantanu answers his son’s undertaking with a boon. Pleased by what Bhishma has done for him, he grants the prince authority over the moment of his death. Death will come only after receiving Bhishma’s permission:
स्वच्छन्दमरणं तुष्टो ददौ तस्मै महात्मने। न ते मृत्युः प्रभविता यावज्जीवितुमिच्छसि।। त्वत्तो ह्यनुज्ञां संप्राप्य मृत्युः प्रभविताऽनघ।।
“And Shantanu also hearing of the extraordinary achievement of his son became highly gratified and bestowed upon the high-souled prince the boon of death at choice, saying, ‘Death shall never come to thee as long as thou desirest to live. Truly, death shall approach thee, O sinless one, having first obtained thy command. ’” — Mahabharata 1.107.119–120a (Adi Parva 100), tr. K. M. Ganguli
With the succession condition settled, Shantanu marries Satyavati and establishes her in his household. Their son Chitrangada is born soon afterward.