Ladykirk is a village on the B6470 in the Scottish Borders area of Scotland, and the former Berwickshire, just north of the River Tweed and the Anglo-Scottish border. The town was formerly known as Upsettlington, but King James IV of Scotland renamed the town Ladykirk; the church is also known as St. Mary's Church or Kirk of Steill. Ladykirk stands directly opposite Norham Castle, Northumberland, England
The land opposite Norham Castle known as Upsettlington Green and Holywell Haugh was used for meetings during the wars of Scottish Independence. Robert de Brus, 6th Lord of Annandale, the father of Robert the Bruce, and the Competitors for the Crown of Scotland convened at Holywell Haugh on 2 June, 1291, and met Robert Burnell the English Bishop of Bath and Wells. On the following day John Balliol acknowledged Edward I of England as his feudal superior.
James IV established his headquarters at Upsettlington on 5 August 1497 during an attack on Norham Castle. Here James played cards with the Spanish ambassador Pedro de Ayala. The approach of an English army led by the Earl of Surrey forced James to abandon the siege of Norham. Surrey marched towards Ayton Castle and by 21 August 1497 peace was negotiated and James sent orders to stop re-inforcements coming to Ayton.