How long did the Thuringian realm exist