In Anglo-Saxon England, thegns were aristocratic landowners of the second rank, below the ealdormen who governed large areas of England. The term was also used in early medieval Scandinavia for a class of retainers. In medieval Scotland, there were local officials known as thanes.