The Treaty of Vienna (Danish: Freden i Wien; German: Frieden von Wien) was a peace treaty signed on 30 October 1864 in Vienna between the Austrian Empire, the Kingdom of Prussia, and the Kingdom of Denmark.
They would be jointly governed by Prussia and Austria in a condominium.
A subsequent treaty between Austria and Prussia on August 14, 1865 known as the Gastein Convention provided that Prussia would administer Schleswig and Austria would similarly govern Holstein.
Austria also sold its rights over Lauenburg to Prussia.
Disputes over the administration of Schleswig and Holstein would lead to the 1866 Austro-Prussian War.