The correct answer is : Austria!
This was called the "Austro-Prussian war".
Before this war, Austria had the leading role among the German-speaking states, and after this war, this role shifted more to Prussia (of which Bismark was the Minister President).