 The Thuringii had a separate identity as late as 785–786, when one of their leading men, Hardrad, led an abortive insurrection against Charlemagne.The Carolingians codified the Thuringian legal customs (but perhaps did not use them extensively) as the "Lex Thuringorum" and continued to exact a tribute of pigs, presumably a Merovingian imposition, from the province.In the 10th century, under the Ottonians, the centre of Thuringian power lay in the north-east, near Erfurt.