The Truce of Nice, which ended the Italian War of 1536–1538, provided little resolution to the long conflict between the Holy Roman Emperor and the King of France; although hostilities had ended, giving way to a cautious entente, neither monarch was satisfied with the war's outcome. Francis continued to harbor a desire for the Duchy of Milan, to which he held a dynastic claim; Charles, for his part, insisted that Francis comply at last with the terms of the Treaty of Madrid, which had been forced on the French king during his captivity in Spain after the Italian War of 1521–26. Other conflicting claims to various territories—Charles's to Burgundy and Francis's to Naples and Flanders, among others—remained a matter of contention as well.