the new Landgraviate of Hesse, which remained with the Ludovingians. From that point on the Ludovingian coat of arms came to represent both Thuringia and Hesse. It rose to prominence under Landgrave Philip the Magnanimous, who was one of the leaders of German Protestantism. After Philip's death in 1567, the territory was divided among his four sons from his first marriage (Philip was a bigamist) into four lines: Hesse-Kassel (or Hesse-Cassel), Hesse-Darmstadt, Hesse-Rheinfels, and the also previously existing Hesse-Marburg. As the latter two lines died out quite quickly (1583 and 1605, respectively), Hesse-Kassel and Hesse-Darmstadt were the two core states within the Hessian lands. Several collateral lines split off during the centuries, such as in 1622, when Hesse-Homburg split off from Hesse-Darmstadt, and in 1760 when Hesse-Hanau split off from Hesse-Kassel. In the late 16th century, Kassel adopted Calvinism, while Darmstadt remained Lutheran and consequently the two lines often found themselves on opposing sides of conflicts, most notably in the disputes over Hesse-Marburg and in the Thirty Years' War, when Darmstadt fought on the side of the Emperor, while Kassel sided with Sweden and France. The Landgrave Frederick II (1720–1785) ruled Hesse-Kassel as a benevolent despot, from 1760 to 1785. He combined Enlightenment ideas with Christian values, cameralist plans for central control of the economy, and a militaristic approach toward diplomacy. He funded the depleted treasury of the poor government by loaning 19,000 soldiers in complete military formations to Great Britain to fight in North America during the American Revolutionary War, 1776–1783. These soldiers, commonly known as Hessians, fought under the British flag. The British used the Hessians in several conflicts, including in the Irish Rebellion of 1798. For further revenue, the soldiers were loaned to other places as well. Most were conscripted, with their pay going to the Landgrave. Modern history French Revolution and Napoleonic Wars In 1789 the French Revolution began and in 1794, during the War of the First Coalition, the French Republic occupied the Left Bank of the Rhine, including part of Lower Katzenelnbogen (, Hesse-Kassel's part of the former County of Katzenelnbogen which was held by the appanage Hesse-Rotenburg). Emperor Francis II formally recognised the annexation of the Left Bank in the 1801 Treaty of Lunéville. This led in 1803 to the , a substantial reorganisation (mediatisation) of the states and territories of the Empire. Several exclaves of Mainz were mediatised to Hesse-Kassel and Hesse-Darmstadt,