The Old Swiss Confederacy a "de facto" independent state throughout the early modern period, although still nominally part of the Holy Roman Empire until 1648 when the Treaty of Westphalia ended the Thirty Years' War. The Swiss Reformation divided the confederates into Reformed and Catholic parties, resulting in internal conflict from the 16th to the 18th centuries; as a result, the federal diet () was often paralysed by hostility between the factions. The Swiss Confederacy fell to invasion by the French Revolutionary Army in 1798, after which it became the short-lived Helvetic Republic. The adjective "old" was introduced after the Napoleonic era with ,
Treaty of Altranstädt (1707) Treaty of Altranstädt (1707) 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. While the Protestant Reformation had strongly affected Silesia, the Habsburg emperors had subjected the province to the counter-reformation in the 18th century. Especially in Upper Silesia, these measures were successful: in the early 18th century, almost half of the Silesian population was Roman Catholic and some 1,000 churches had been rededicated from Protestant to Roman Catholic. The Peace of Westphalia (1648) protected Protestants only in