David died childless on 22 February 1371 and was succeeded by Robert II. David was buried at Holyrood Abbey almost immediately but an armed protest by William, Earl of Douglas delayed Robert II's coronation until 26 March 1371. The reasons for the incident remain unclear but may have involved a dispute regarding Robert's right of succession, or may have been directed against George Dunbar, Earl of March (also known as Earl of Dunbar) and the southern Justiciar, Robert Erskine. It was resolved by Robert giving his daughter Isabella in marriage to Douglas's son, James and with Douglas replacing Erskine as Justiciar south of the Forth. Robert's accession did affect some others who held offices from David II. In particular, George Dunbar's brother John Dunbar, the Lord of Fife who lost his claim on Fife and Sir Robert Erskine's son, Sir Thomas Erskine who lost control of Edinburgh Castle.