After the German defeat in World War I, the Schleswig Plebiscites were decreed by the 1919 Treaty of Versailles, in which the present-day German-Danish border was drawn. The border took effect on 15 June 1920, dividing Schleswig into a southern and northern part and leaving a considerable Danish and German minority on both sides.