In the Austro-Prussian War, Herwarth commanded the Army of the Elbe which overran Saxony and invaded Bohemia by the valley of the Elbe. His troops won the actions of Hühnerwasser and Münchengrätz, and at Königgrätz formed the right wing of the Prussian army. Herwarth himself directed the battle against the Austrian left flank.