The Battle of Dunbar was the only significant field action of the campaign of 1296 during the beginning the First War of Scottish Independence.
The First War of Scottish Independence was the first of a series of wars between English and Scottish forces. It lasted from the English invasion of Scotland in 1296 until the de jure restoration of Scottish independence with the Treaty of Edinburgh–Northampton in 1328. De facto independence was established in 1314 at the Battle of Bannockburn. The wars were caused by English kings attempting to establish their authority over Scotland while Scots fought to keep English rule and authority out of Scotland.The term "War of Independence" did not exist at the time. The war was given that name retrospectively many centuries later, after the American War of Independence made the term popular, and after the rise of modern Scottish nationalism.