Although William of Normandy had become king after the Battle of Hastings, not everyone supported him. William built many castles of different kinds all over England.
The feudal system helps us to understand how medieval society was organised. There was a big divide between wealthy nobles and peasants.
As King of England, William needed to know how much wealth each person had. The information collected by his supporters became known as the Domesday Book.