Robert I of Scotland
Robert did not want any fighting over his kingdom after he died. He provided for his brother Edward Bruce to follow him as king. But after Edward died in 1318 Robert's heir became his son David who became king as David II of Scotland. Following David, Robert's grandson Robert II Stewart by his daughter Marjorie was heir to the throne king as Robert II of Scotland. He left behind him a well-ordered kingdom.