In the four-hour battle, the French army was split and defeated in detail. Many of the chief nobles of France were killed, and others – including Francis I himself – were captured. He was imprisoned in the Imperial tower of Pizzighettone and then transferred to Spain, where Charles V was residing for his upcoming marriage with Isabella of Portugal. Together they signed the Treaty of Madrid of 1526, by which Francis abandoned claims over the Imperial Duchy of Milan and ceded Burgundy to the House of Habsburg in exchange for his freedom.