Valmiki Ramayana Ayodhya Kanda Sarga 118 Shloka 27
Original Shlokaमिथिलाधिपतिर्वीरो जनको नाम धर्मवित्। क्षत्रधर्मे ह्यभिरतो न्यायतश्शास्ति मेदिनीम्।।2.118.27।।
1 source checked for this shloka
मिथिलाधिपतिः king of Mithila, वीरः a warrior, धर्मवित् one conversant wtih righteousness, जनको नाम by name Janaka, क्षत्रधर्मे in the duties of kshatriya, अभिरतः engaged, न्यायतः rightly, मेदिनीम् this earth, शास्ति was ruling.
There is a king in Mithila, Janaka by name. He is heroic and is conversant with righteousness. Engaged in the duties of a kshatriya, he is rules the earth with justice.