Śrīmad-Bhāgavatam · Text 3.6.31
Who is speaking and story frame
बाहुभ्योऽवर्तत क्षत्रं क्षत्रियस्तदनुव्रत: ।
यो जातस्त्रायते वर्णान् पौरुष: कण्टकक्षतात् ॥ ३१ ॥
bāhubhyo ’vartata kṣatraṁ
kṣatriyas tad anuvrataḥ
yo jātas trāyate varṇān
pauruṣaḥ kaṇṭaka-kṣatāt
Thereafter the power of protection was generated from the arms of the gigantic virāṭ form, and in relation to such power the kṣatriyas also came into existence by following the kṣatriya principle of protecting society from the disturbance of thieves and miscreants.
Read Śrīla Prabhupāda's purport on Vedabase.io