The Sheriff of Nottingham is the main antagonist in the legend of Robin Hood. He is generally depicted as an unjust tyrant who mistreats the local people of Nottinghamshire, subjecting them to unaffordable taxes. Robin Hood fights against him, stealing from the rich, and the Sheriff, in order to give to the poor; it is this characteristic for which Robin Hood is best known. The Sheriff is considered the archenemy of Robin Hood, as he is the most recurring enemy of the well-known outlaw.
It is not known upon whom this character is based. The legend of Robin Hood (which is at least as old as the 14th century), traditionally referred to the Sheriff of Nottingham only by his title. The post of Sheriff of Nottingham only came into existence in 1449. However, there has from very early Norman times been a High Sheriff of Nottinghamshire, Derbyshire and the Royal Forests, appointed by the king, which became High Sheriff of Nottinghamshire in 1568. The character in the legend could therefore have been based on the royal appointee responsible for law enforcement in the Royal Forests (which included Sherwood Forest).