Second Schleswig War
The Danish dialect South Jutlandic was still spoken in Swania around 1780 (the last time in the villages near the Schlei). Denmark lost Swania following the Second Schleswig War in 1864.