Major castles were built in or near large centres of population. On the edge of London William the Conqueror had a massive square keep constructed as a reminder to the Londoners that he was their king. Similarly castles were built in Exeter, York and at other important medieval cities.