회군
In the late 1850s, Nie was in the service of Yuan Jiasan (the father of Yuan Shikai) against rebel forces in the Nian Rebellion, under whom he was commissioned as a lieutenant and then in the Huai Army in the suppression of the Taiping Rebellion, at the end of which he was promoted to general.