Complex sentence: According to the Peace of Aarau of 11 August 1712 and the Peace of Baden of 16 June 1718, the war ended with the end of Catholic hegemony.
Split into simpler sentences: According to the Peace of Aarau of 11 August 1712 and the Peace of Baden of 16 June 1718. The war ended with the end of Catholic hegemony.