 Large parts of the disputed Upper Hesse territory including Marburg fell to the elder Kassel line, while Hesse-Darmstadt retained Giessen and Biedenkopf.In 1736, the Landgraves of Hesse-Darmstadt inherited the estates of the extinct Counts of Hanau-Lichtenberg, again contested by their Kassel cousins.Hesse-Darmstadt gained a great deal of territory by the secularizations and mediatizations authorized by the "Reichsdeputationshauptschluss" of 1803.