Valmiki Ramayana Bala Kanda Sarga 51 Shloka 17
Original Shlokaराजाऽभूदेष धर्मात्मा दीर्घकालमरिन्दम:। धर्मज्ञ: कृतविद्यश्च प्रजानां च हिते रत:।।1.51.17।।
1 source checked for this shloka
एष: this Viswamitra, धर्मात्मा righteous minded, अरिन्दम: subduer of enemies, धर्मज्ञ: knower of righteousness, कृतविद्य: acquired knowledge in all branches of learning, प्रजानां of the subjects, हिते welfare, रत: delighted, राजा as king, दीर्घकालम् अभूत् ruled for long time.
This righteousminded sage, subduer of enemies, knower of dharma knowledgeable in all branches of learning, devoted to the welfare of his subjects ruled as a king for long.