 However despite Dunabar's apparent treachery he made peace with his cousin, king Robert, and was present at the Parliament at Ayr in 1315.Dunbar was later appointed governor of Berwick where he was besieged by Edward III of England.Dunbar surrendered to the English but renounced any allegiance to the English king and as a result his castle was besieged by the Earl of Salisbury.