The legend of Robin Hood developed in the Middle Ages. Robin Hood is said to have lived in Sherwood Forest, which extended from the north of Nottingham to the north side of Doncaster, Yorkshire. His main opponent was the Sheriff of Nottingham. While the legends are almost certainly untrue, particularly in their details, they have had a major impact on Nottingham, with Robin Hood imagery a popular choice for local businesses and many modern tourist attractions use the legend. The Robin Hood Statue in Nottingham is outside the Nottingham Castle within walking distance from the Old Market Square.