Карл XII
The Treaty or Convention of Altranstädt was signed between Charles XII of Sweden and Joseph I, Holy Roman Emperor on 31 August 1707. It settled the rights of Protestants in Silesia.