On 8 May 1852, after the First War of Schleswig, an agreement called the London Protocol (German: Londoner Protokoll; Danish: Londonprotokollerne) was signed. This international treaty was the revision of an earlier protocol, which had been ratified on 2 August 1850, by the major German powers of Austria and Prussia. The second London Protocol was recognised by the five major European powers—Austria, France, Prussia, Russia, and the United Kingdom—as well as by the Baltic Sea powers of Denmark and Sweden.
The Protocol affirmed the integrity of the Danish federation as a "European necessity and standing principle". Accordingly, the duchies of Schleswig (a Danish fief) and of Holstein and Lauenburg (German fiefs) were joined by personal union with the Kingdom of Denmark. However, Frederick VII of Denmark was childless, so a change in dynasty was imminent and the lines of succession for the duchies and Denmark diverged. That meant that, contrary to the Protocol, the new king of Denmark would not also be the new duke of Holstein and Lauenburg. So for this purpose, the line of succession to the duchies was modified. Further, it was affirmed that the duchies were to remain as independent entities, and that Schleswig would have no greater constitutional affinity to Denmark than Holstein did.