The Thuringian Realm existed until 531 and later, the Landgraviate of Thuringia was the largest state in the region, persisting between 1131 and 1247. Which dynasty formed before the Treaty of Leipzig?