James achieved more success in foreign policy. Never having been at war with Spain, he devoted his efforts to bringing the long Anglo–Spanish War to an end, and a peace treaty was signed between the two countries in August 1604, thanks to the skilled diplomacy of the delegation, in particular Robert Cecil and Henry Howard, now Earl of Northampton. James celebrated the treaty by hosting a great banquet. Freedom of worship for Catholics in England, however, continued to be a major objective of Spanish policy, causing constant dilemmas for James, distrusted abroad for repression of Catholics while at home being encouraged by the Privy Council to show even less tolerance towards them.