 After the latter was won by Prussia, William wanted to march on to Vienna and annex Austria, but was dissuaded from doing so by Bismarck and Crown Prince Frederick.Bismarck wanted to end the war quickly, so as to allow Prussia to ally with Austria if it needed to at a later date; Frederick was also appalled by the casualties and wanted a speedy end to hostilities.During a heated discussion, Bismarck threatened to resign if William continued to Vienna; Bismarck got his way.