Dong Fuxiang, Ma Anliang and Ma Haiyan were originally called to Beijing during the First Sino-Japanese War in 1894, but the Dungan Revolt (1895) broke out and they were subsequently sent to crush the rebels.