When a projected international crusade failed to materialise, Sir James Douglas and his company, escorting the casket containing Bruce's heart, sailed to Spain where Alfonso XI of Castile was mounting a campaign against the Moorish kingdom of Granada. According to John Barbour, Douglas and his companions, including Sir William de Keith, Sir Kenneth Moir, Sir Simon Locard, Sir William de St. Clair and John de St. Clair of Rosslyn and the brothers Sir Robert Logan of Restalrig and Sir Walter Logan, were welcomed cordially by King Alfonso. In August 1330 the Scots contingent formed part of the Castilian army besieging the frontier castle of Teba. Under circumstances which are still disputed, Sir James and most of his companions were killed. The sources all agree that, outnumbered and separated from the main Christian army, a group of Scots knights led by Douglas was overwhelmed and wiped out. The surviving members including Sir Simon Locard of the company recovered Douglas' body together with the casket containing Bruce's heart. The heart, together with Douglas' bones, was brought back to Scotland.