《旧唐书·列传·卷六十四》
鲁炅在叶县战败，退守南阳，于是以瑱任南阳太守、兼御史中丞，充任山南东道节度防御处置等使替代炅。
鲁炅败于叶县，退守南阳，乃以瑱为南阳太守、兼御史中丞，充山南东道节度防御处置等使以代炅。
Lu Ji was defeated in Yexian and retreated to Nanyang, so Zhen was ordered to replace Ji as the governor of Nanyang and concurrently serve as Yushi Zhongcheng, and to fulfill the duties of Shan Nanyidao Jiedu Defense and Disposition.
<s>[INST] Given the Classical Chinese text: 鲁炅败于叶县，退守南阳，乃以瑱为南阳太守、兼御史中丞，充山南东道节度防御处置等使以代炅。, provide a step-by-step translation process to arrive at the English translation. [/INST] 
**Step 1:** Identify the main verb and its object: 败 (defeat) - 炅 (Lu Ji)
**Step 2:** Translate the verb-object structure: Lu Ji was defeated.
**Step 3:** Identify the prepositional phrases and their objects: 于叶县 (in Yexian), 退守南阳 (retreated to Nanyang)
**Step 4:** Translate the prepositional phrases: in Yexian, retreated to Nanyang.
**Step 5:** Identify the noun phrases and their modifiers: 乃以瑱为南阳太守、兼御史中丞，充山南东道节度防御处置等使 (so Zhen was ordered to replace Ji as the governor of Nanyang and concurrently serve as Yushi Zhongcheng, and to fulfill the duties of Shan Nanyidao Jiedu Defense and Disposition).
**Step 6:** Translate the noun phrases: so Zhen was ordered to replace Ji as the governor of Nanyang and concurrently serve as Yushi Zhongcheng, and to fulfill the duties of Shan Nanyidao Jiedu Defense and Disposition.
**Final English translation:** Lu Ji was defeated in Yexian and retreated to Nanyang, so Zhen was ordered to replace Ji as the governor of Nanyang and concurrently serve as Yushi Zhongcheng, and to fulfill the duties of Shan Nanyidao Jiedu Defense and Disposition.</s>
Given the Classical Chinese text: 鲁炅败于叶县，退守南阳，乃以瑱为南阳太守、兼御史中丞，充山南东道节度防御处置等使以代炅。, provide a step-by-step translation process to arrive at the English translation.
user
**Step 1:** Identify the main verb and its object: 败 (defeat) - 炅 (Lu Ji)
**Step 2:** Translate the verb-object structure: Lu Ji was defeated.
**Step 3:** Identify the prepositional phrases and their objects: 于叶县 (in Yexian), 退守南阳 (retreated to Nanyang)
**Step 4:** Translate the prepositional phrases: in Yexian, retreated to Nanyang.
**Step 5:** Identify the noun phrases and their modifiers: 乃以瑱为南阳太守、兼御史中丞，充山南东道节度防御处置等使 (so Zhen was ordered to replace Ji as the governor of Nanyang and concurrently serve as Yushi Zhongcheng, and to fulfill the duties of Shan Nanyidao Jiedu Defense and Disposition).
**Step 6:** Translate the noun phrases: so Zhen was ordered to replace Ji as the governor of Nanyang and concurrently serve as Yushi Zhongcheng, and to fulfill the duties of Shan Nanyidao Jiedu Defense and Disposition.
**Final English translation:** Lu Ji was defeated in Yexian and retreated to Nanyang, so Zhen was ordered to replace Ji as the governor of Nanyang and concurrently serve as Yushi Zhongcheng, and to fulfill the duties of Shan Nanyidao Jiedu Defense and Disposition.
assistant