 Encastellation began in earnest under William the Conqueror in the years immediately following the Battle of Hastings.Castles of the motte-and-bailey were erected quickly all over the country to subdue the locals and prevent foreign invasions by rival claimants to the throne.Within a matter of years, England was fully castled.