Answer
The Treaty of Edinburgh–Northampton (also known as the Treaty of Northampton) was signed on 6 August 1328 at Edinburgh Castle between the Kingdom of Scotland and the Kingdom of England. It confirmed the independence of Scotland and recognised Robert the Bruce as King of Scotland.