The Austro-Prussian War of 1866 led to the dissolution of the German Confederation, founded in 1815 after the Prague Treaty. The result was a system of German alliance under the hegemonic domination of Prussia. After the Prussian victory at the Battle of Hradec Kralove, and against the wishes of the Habsburgs, Bismark succeeded in forming the North German Confederation as a military alliance in August 1866 without Austria.