With the demise of the Holy Roman Empire in the 19th century, the term "Sønderjylland" was revived by Denmark and became the subject of a naming dispute between Danes and Germans (the latter continuing the centuries-old "Schleswig") – part of the struggle over possession of the territory itself, resulting in the Schleswig Wars, fought in 1848–1852 and again in 1864. Though Denmark was militarily defeated in the first conflict, pressure from the Great Powers prevented the region being relinquished to the German Confederation.