In some cases it was used as a way of punishing people who had rebelled against royal authority, or was used to undermine the authority of the owner by demonstrating their inability to protect their property. As part of the peace negotiations bringing The Anarchy of 1135–1154 to an end, both sides agreed to dismantle fortifications built since the start of the conflict. Similarly, in 1317 Edward II gave orders to dismantle Harbottle Castle in Northumberland in England as part of a treaty with Robert the Bruce. It was uncommon for someone to pre-emptively slight their own fortifications, although not unknown; during the First War of Scottish Independence, Robert the Bruce systematically slighted Scottish castles, often after capturing them from English control. More than a century earlier, John, King of England ordered the demolition of Château de Montrésor in France, during his war with the French king over control of Normandy.