The proximity to Scotland inevitably had an effect on the fortunes of the priory, and it was a target of Scots attacks in retaliation for English raids. This became acute after the outbreak of the
Wars of Scottish Independence. In 1296 the Scottish army encamped at Lanercost after burning
Hexham priory and
Lambley nunnery. The Scots were interrupted before the damage could become great, and they retreated through Nicolforest, having burnt some houses of the monastery but not the church. Similar depredations under Wallace continued the next year and led to calls for reprisals from the English. on
Hadrian's Wall nearby, now built into the priory wall.
Edward I made several visits to the priory in the latter part of his reign. In the autumn of 1280 he visited in the company of
Queen Eleanor of Castile on his way to Newcastle. The canons met him at the gate in their copes, and although staying only a few days, he found time to take 200 stags and hinds while hunting in Inglewood forest. In 1300, on his way to the siege of
Caerlaverock Castle, Edward stayed at Lanercost for a short while. Edward's last visit was in 1306, travelling in a horse litter owing to age and illness, and accompanied by
Queen Margaret of France, his second wife. He arrived at Michaelmas and his stay extended until the following Easter, a duration of 6 months which put a huge burden upon the resources of the priory. It was while Edward was at Lanercost that the brothers of Robert de Brus and other Scottish captives were sent to Carlisle for execution by his order. This last royal visit depleted the reserves of the priory, and the canons begged him for recompense, but a deal to acquire the church of
'Hautwyselle,' worth about 100 marks a year, fell through. However the king granted the appropriation of the churches of
Mitford in Northumberland and
Carlatton in Cumberland, for the relief of the Priory. In a letter to the Pope, Edward gave his reasons for generosity being the special devotion he felt to St Mary Magdalene, his long stay due to illness, and making good the damage of the Scots. Edward died shortly afterwards at
Burgh by Sands in July 1307, whilst still campaigning against the Scots. In August 1311,
Robert Bruce, King of Scotland, came with his army and made it his headquarters for three days, "committing infinite evils" and imprisoning some canons, though later letting them free. By contrast in 1328, in fulfilment of the treaty between the Bruce and Edward III, a mutual interchange of good offices took place between the priory of Lanercost and
Kelso Abbey in respect of their common revenues out of the church of
Lazonby. Later though, in 1346, David II ransacked the conventual buildings and desecrated the church. Fresh from the overthrow of Liddel he "entered the holy place with haughtiness, threw out the vessels of the temple, stole the treasures, broke the doors, took the jewels, and destroyed everything they could lay hands on". As late as 1386, one of the priors was taken prisoner by the Scots and ransomed for a fixed sum of money and four score quarters of corn. The fortunes of the priory were linked to the state of warfare and raids on the border. The priory was in relatively affluent circumstances before the outbreak of the war of Independence in 1296, and the annual revenue of the house was returned at £74 12s 6d in the 1291 valuation of Pope Nicholas IV. But by the taxation of 1318, the value had fallen almost to nothing. ==The parish church==