That foremost of all boon-giving deities namely Mahadeva became pleased with him and requested him to ask for his desired boon. The royal son of Somadatta then asked for this boon-
तस्य तुष्टो महादेवो वराणां वरदः प्रभुः। वरेण च्छन्दयामास स तु वने वरं नृपः॥