Śrīmad-Bhāgavatam · Text 9.16.28
Who is speaking and story frame
गाधेरभून्महातेजा: समिद्ध इव पावक: ।
तपसा क्षात्रमुत्सृज्य यो लेभे ब्रह्मवर्चसम् ॥ २८ ॥
gādher abhūn mahā-tejāḥ
samiddha iva pāvakaḥ
tapasā kṣātram utsṛjya
yo lebhe brahma-varcasam
Viśvāmitra, the son of Mahārāja Gādhi, was as powerful as the flames of fire. From the position of a kṣatriya, he achieved the position of a powerful brāhmaṇa by undergoing penances and austerities.
Read Śrīla Prabhupāda's purport on Vedabase.io