Valmiki Ramayana Ayodhya Kanda Sarga 1 Shloka 44
Original Shlokaआत्मनश्च प्रजानां च श्रेयसे च प्रियेण च।।2.1.44।। प्राप्तकालेन धर्मात्मा भक्त्या त्वरितवान् नृपः।
1 source checked for this shloka
धर्मात्मा righteous नृपः king, आत्मनश्च of his own, प्रजानां च of his subjects, श्रेयसे च for the welfare, प्रियेण च with much love, प्राप्तकालेन proper time having come, भक्त्या with longing, त्वरितवान् hastened.
Longing for it, the noble king realized that the time was ripe for the acceleration of the process of safeguarding his own and his subjects' welfare.