淝水之戰
The severe defeat of the Former Qin in the Battle of Fei River in 383 encouraged uprisings, which split the Former Qin territory into two noncontiguous pieces after the death of Fu Jian. One fragment, at present-day Taiyuan, Shanxi was soon overwhelmed in 386 by the Xianbei under the Later Yan and the Dingling. The other struggled in greatly reduced territories around the border of present-day Shaanxi and Gansu until disintegration in 394 following years of invasions by Western Qin and Later Qin.