In 1648, the Thirty Years War finally ended with the Peace of Westphalia. Ferdinand III continued the recatholicization and centralization policies of his father. After his death in 1657, he was succeeded by his only surviving son Leopold I. During the fourth Austro-Turkish War in 1663 the Turkish army invaded Moravia before being stopped in the Battle of Saint Gotthard. Leopold continued waging wars with Ottomans and France throughout his long rule. He increased corvée to three days a week which caused the Peasant Revolt of 1680. The infamous Losiny Estate Witch Trials took place between 1678 and 1696 resulting in almost 100 dead. More protests against the increased corvée occurred, but all in vain. In 1705, Ferdinand III's rule ended and his son Joseph I succeeded him. Joseph I planned to enact many administrative reforms, most of which he didn't get the chance to finish, due to his premature death of smallpox. One year before his death he issued letters patent ordering that all Romani people in the Lands of the Bohemian Crown had one of their ears cut off. If they returned after being expelled, all Romani men were to be hanged without a trial. Similar letters patents were published in other territories under his rule and led to mass killings of Romani people. After Joseph I's premature death in 1711, the Austrian throne went to his younger brother Charles VI. &lt;br&gt;