The Serbo-Bulgarian War erupted on November 14, 1885, and lasted until November 28 of the same year. The war ended in defeat for Serbia, as it had failed to capture the Slivnitsa region which it had set out to achieve. Bulgarians successfully repelled the Serbs after the decisive victory at the Battle of Slivnitsa and advanced into Serbian territory taking Pirot and clearing the way to Niš.