Liu Yao married her cousin Liu Fang as empress. In 327, believing that Han Zhao had been weakened by its defeat at Later Zhao's hands, Zhang Jun, Zhang Mao's nephew and successor as the head of Former Liang, declared himself again a Jin vassal and pillaged Han Zhao's Qin Province. Liu Yin led an army and defeated Former Liang's forces, even crossing the Yellow River, but eventually settling for capturing Former Liang's remaining territory east of the Yellow River. In fall 328, Shi Hu attacked Han Zhao's Hedong Commandery (roughly modern Yuncheng, Shanxi). Liu Yao personally led an army and defeated Shi Hu, and then headed south and surrounded Luoyang, capturing several commanderies around it. This greatly shocked Shi Le, as he was worried that Liu Yao would next attack his capital Xiangguo (襄國, in modern Xintai, Hebei). In winter 328, Shi Le personally led a relief force to Luoyang. Meanwhile, during the siege of Luoyang, Liu Yao took no precautious to cut off Chenggao Pass (in modern Zhengzhou, Henan), and Shi was able to pass through it and arrive at Luoyang. In connection with this war by Shi Le against Liu Yao in 328 CE was uttered the only phrase in the Jie language which has survived to modern times, recorded phonetically in the Chinese annals, glossed with a Chinese translation. The phrase has since been analyzed and translated in numerous publications. Around the new year 329, the armies engaged in battle. Before the battle, Liu Yao, who had taken to drinking in his late reign, drank a large amount of liquor. His usual horse had suffered leg spasms, and so he had to ride a smaller horse, and during battle Shi made a surprise attack, and the horse, unable to bear his weight, fell, and he was thrown off the horse. Later Zhao soldiers inflicted many wounds on him before capturing him and taking them to the general Shi Kan (石堪). Shi Le then ordered his army to stop engagement and allow the Han Zhao forces to retreat. Shi Kan delivered Liu Yao to Shi Le. Shi ordered that Liu's wounds be treated, and he then took Liu Yao to Xiangguo. He put Liu Yao under heavy guard but supplied him with women, and also permitted his previously captured generals Liu Yue and Liu Zhen (劉震) to visit him. Shi then ordered Liu Yao to write a letter