苻登
Despite Yao Xing's hopes of keeping his father's death a secret, Fu Deng received news of it anyway—and immediately prepared a major attack against Later Qin. Fu Deng had his brother Fu Guang (苻廣) defend the base of Yongcheng (雍城, in modern Baoji, Shaanxi) and Fu Chong defend the base of Hu Kong Castle (胡空堡, in modern Xianyang, Shaanxi), and, in his anxiety, did not make sure that his army had sufficient water supply. Yao Xing set up his army at Mawei (馬嵬, in modern Xianyang, Shaanxi) to prevent Former Qin forces from reaching the river near Mawei, and Former Qin forces were stricken by thirst, but still fought harder. Yao Xing initially ordered Yin to be cautious, but Yin, realizing the trouble the Former Qin forces were already in and believing that morale would be destroyed if he undertook a cautious strategy, fought back fervently, and the Former Qin forces collapsed. Upon hearing the defeat, Fu Deng's brother Fu Guang (苻廣) and son Fu Chong abandoned the two bases that they were holding, and Fu Deng was unable to recapture them. He then sought help from the King of Western Qin, Qifu Gangui, who sent a relief force headed by Qifu Yizhou (乞伏益州). As Fu Deng sought to join up with Qifu Yizhou, Yao Xing ambushed and captured him, and then executed him. He disbanded Fu Deng's troops and gave Fu Deng's Empress Li to Yao Huang. Fu Deng's crown prince Fu Chong would assume imperial title and attempt to resist Later Qin a few months longer, but later in the year died in battle against Western Qin after Qifu Gangui turned against him, ending Former Qin. Later Qin assumed nearly all of Former Qin's remaining territory. Around the new year 395, Later Qin established peace with Later Yan, thus obviating likelihood of war on the eastern border—although later in 395, when Later Yan's crown prince Murong Bao carried out a disastrous campaign against Northern Wei's King Tuoba Gui, Later Qin sent a relief force to aid Northern Wei, although Later Qin forces did not actually engage Later Yan. Further, in 397, with Later Yan under heavy attack by Northern Wei after its founding emperor Murong Chui died and was replaced by Murong Bao, Later Qin refused to provide aid to Later Yan.