 James had already baulked at the interdict of his kingdom by Pope Julius II, and he opposed its confirmation by Pope Leo X, so that he was not in a good position with the pontiff.Leo sent a letter to James, threatening him with ecclesiastical censure for breaking peace treaties, on 28 June 1513, and James was subsequently excommunicated by Cardinal Christopher Bainbridge.James summoned sailors and sent the Scottish navy, including the "Great Michael", to join the ships of Louis XII of France, so joining in the War of the League of Cambrai.