《旧唐书·本纪·卷十二》
 李怀光往年因为任职，颇称能干，朕继帝位之初，首先加以提拔，依为腹心，授予节旄，委以重任。
李怀光往因职任，颇著干能，朕嗣之初，首加拔擢，托为心膂，授以节旄。
Li Huiguang had always been commended for his competence in his official roles over the years. When I first ascended to the throne, I was the first to promote him, relied on him as a confidant, and bestowed on him the symbols of military authority, entrusting him with important responsibilities.
<s>[INST] Translate the following Classical Chinese text into modern Chinese: 李怀光往因职任，颇著干能，朕嗣之初，首加拔擢，托为心膂，授以节旄。 [/INST]  李怀光往年因为任职，颇称能干，朕继帝位之初，首先加以提拔，依为腹心，授予节旄，委以重任。</s>
Translate the following Classical Chinese text into modern Chinese: 李怀光往因职任，颇著干能，朕嗣之初，首加拔擢，托为心膂，授以节旄。
user
李怀光往年因为任职，颇称能干，朕继帝位之初，首先加以提拔，依为腹心，授予节旄，委以重任。
assistant