Like the First Schleswig War (1848–52), it was fought for control of the duchies of Schleswig, Holstein and Lauenburg, due to the succession disputes concerning them when the Danish king died without an heir acceptable to the German Confederation.