After defeating Former Qin forces, Xie Xuan spearheaded a campaign to regain lost territory, and Jin captured most of the Former Qin provinces south of the Yellow River, as well as regaining Liang and Yi provinces. However, Prime Minister Xie An, who was most credited with the victory, began to lose favor in Emperor Xiaowu's eyes; Xie's son-in-law, Wang Guobao (), unhappy that Xie did not give him important posts, began to flatter both Emperor Xiaowu and his brother, Sima Daozi, the Prince of Kuaiji, as a means of undercutting Xie. Xie remained prime minister, however, until his death in 385; he was replaced by Sima Daozi. Both Emperor Xiaowu and Sima became obsessed with feasting and drinking, and neither spent much time on affairs of state.