During the Austro-Prussian War, the Kingdom of Hanover had attempted to maintain a neutral position, along with some other member states of the German Confederation. After Hanover voted in favour of mobilising confederation troops against Prussia on 14 June 1866, Prussia saw this as a just cause for declaring war; the Kingdom of Hanover was soon dissolved and annexed by Prussia. The private wealth of the dethroned House of Hanover was then used by Otto von Bismarck to finance his continuing efforts against Ludwig II of Bavaria.