Edward the Confessor allegedly promised the English kingdom to William, Duke of Normandy before his death in 1066. William invaded England and defeated the English army led by Harold II at the Battle of Hastings. William then took control of England, installed his own nobles, and had the Domesday Book compiled to record land holdings.