Seven Weeks' War
(The). From June 8th to July 26th, 1866, between Prussia and Austria, for German supremacy. Italy was allied to Prussia. Hostilities broke out between Austria and Italy July 25th, but the Bavarians were defeated the following day (July 26th), The Treaty of Prague was signed August 23rd, 1866, and that of Vienna October 3rd. By these treaties, Austria was wholly excluded from Germany, and Prussia was placed at the head of the German States.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Seven Weeks' War from Fact Monster: