Robert Bruce died in 1329. According to Jean Froissart, when Bruce was dying he asked that Sir James Douglas, as his friend and lieutenant, should carry his heart to the Holy Land and present it at the Holy Sepulchre in Jerusalem as a mark of penance. John Barbour, alternatively, has Bruce ask that his heart should simply be carried in battle against "God's foes" as a token of his unfulfilled ambition to go on crusade. Given that Jerusalem had been in Muslim hands since 1187, this second is perhaps more likely. When Bruce was dead, his heart was cut from his body and placed in a silver and enamelled casket which Sir James placed around his neck. Early in 1330, Douglas set sail from Berwick upon Tweed, accompanied by seven other knights with twenty six squires and gentlemen. The party stopped first at Sluys in Flanders. There it may be that Douglas received confirmation that Alfonso XI of Castile was preparing a campaign against the Muslims of the kingdom of Granada. In anticipation, he had with him a letter of introduction to King Alfonso from Edward III of England, his cousin. Accordingly, the Scots sailed on to Seville, where, according to John Barbour, Sir James and his solemn relic were received by Alfonso with great honour. Douglas and his company joined Alfonso's army, which then was setting out for the frontier of Granada to besiege the castle of Teba. Uthman, the Berber general in command of the Moorish forces, marched to relieve the border stronghold. At some point during the siege, Douglas was killed. Sources and commentators differ as to how. According to Jean Froissart and the Gran Cronica de Alfonso XI, Douglas was killed as a result of making a premature attack on the enemy. The Gran Cronica suggests this might have been during fighting for access to water. Citing John Barbour, some modern commentators believe he died in the decisive Battle of Teba.  Barbour describes a grand battle in Spain but the setting is vague and the outcome ambiguous. According to the Gran Cronica de Alfonso XI, Uthman, unable to bring the Christians to battle, devised a stratagem in an attempt to force them to abandon the siege. A body of cavalry was sent to make a diversionary attack across the Guadalteba river, luring Alfonso out to fight while Uthman circled round to attack the Christian camp and destroy the besieging army's supplies. Alfonso, however, having received intelligence of Uthman's preparations, kept most of his army back in camp while he sent a contingent to meet the demonstration on the river. It is as part of this force that some commentators assume Douglas and his company joined the battle. When Uthman arrived at the enemy camp he found Alonso's men armed and ready. He abandoned his attack and rode to support the diversionary force on the river where, unable to withstand the Castilian assault, his men were already starting to fall back. Uthman arrived too late to prevent a general rout and the entire Granadan force was driven back in confusion to their camp in the Turon valley, 10 miles to the south. It is in this phase of the battle that some modern commentators have placed Douglas' death, either caught in flank when Uthman's force reached the river or in the ensuing pursuit to the Granadan camp. According to John Barbour's description of Douglas' last battle, when the enemy broke, Sir James and his companions followed hard behind. Having outstripped most of his men in the pursuit, Douglas suddenly found himself far out in front with only a few of his followers around him. As he rode back to rejoin the main body, he saw Sir William St. Clair of Rosslyn surrounded by a body of Moors who, seizing their opportunity, had quickly rallied and counterattacked. With the few knights who were with him, Douglas turned aside to attempt a rescue but, outnumbered twenty to one, the group was overrun. It has become a popular legend that Douglas then took from his neck the silver casket which contained the heart of Bruce and threw it before him among the enemy, saying, "Now pass thou onward as thou wert wont, and Douglas will follow thee or die." This anecdote has its origin in a 16th century addition to Barbour's poem which, however, describes Douglas making the gesture at the beginning of his final battle. It was Sir Walter Scott in Tales of a Grandfather who created the image of Douglas throwing Bruce's heart as his dying act. The Castilian cronica makes no reference to such a catastrophe. It does, however, state that in a fierce skirmish some days prior to the climactic battle, an unnamed 'foreign count' (arguably a reference to Douglas), had died as a result of his own rash behaviour. This is one of only two battle casualties mentioned individually in the Castilian narrative of the campaign. Barbour relates that Sir James and all the men caught with him were killed, including Sir William St. Clair of Rosslyn and Sir Robert Logan of Restalrig. Barbour states that, after this battle, Douglas' body and the casket with Bruce's heart were recovered. His bones, the flesh boiled off them, were taken back to Scotland by Sir William Keith of Galston in Ayrshire (who had missed the battle because of a broken arm), and deposited at St Bride's chapel. The tradition that Sir Simon Locard was a member of the company and also survived, is not found in any of the sources. The heart of Bruce was taken by Moray, the regent, and solemnly interred under the high altar of Melrose Abbey. (see wikipedia for the full article with notes) the heart of the Bruce was added to the Douglas arms sometime following the death of Sir James.