The Sheriff of Nottingham was historically the office responsible for enforcing law an order in Nottingham and bringing criminals to justice. For years the post has been directly appointed by the Lord Mayor of Nottingham and in modern times with the existence of the police force, the position is entirely ceremonial and sustained to boost tourism due to the legendary connection to the tales of Robin Hood. However the historical position goes back to Anglo-Saxon times. The office is sometimes confused with that of the High Sheriff of Nottinghamshire. Before this, during 1068 until 1449 the position existed as High Sheriff of Nottinghamshire, Derbyshire and the Royal Forests.