Bavaria refused to become Prussia's junior partner in this project. But nevertheless Prussia sought the confrontation with Austria that was unwilling to accept Prussia as its equal within the confederation. The Austro-Prussian War of summer 1866 ended with a Prussian victory and the dissolution of the German Confederation.