On 20 July 1652, the Saxon elector John George I stipulated in his will that, while the electoral dignity passes to his eldest son John George II, his three younger brothers should receive secundogeniture principalities upon his death. After the elector died on 8 October 1656, his sons concluded the "friend-brotherly main treaty" in the Saxon residence of Dresden on 22 April 1657 and a further treaty in 1663 delineating their territories and sovereign rights definitely. These treaties created three duchies: