In 1204, John lost Normandy, Brittany, Maine and Anjou to Philip II of France, leaving English power on the continent limited to Gascony and Poitou. John raised taxes to pay for military campaigns to regain his lands, but unrest grew among many of the English barons; John sought new allies by declaring England a papal fiefdom, owing allegiance to the Pope. In 1215, John and the rebel barons negotiated a potential peace treaty, the "Magna Carta". The treaty would have limited potential abuses of royal power, demobilised the rebel armies and set up a power-sharing arrangement, but in practice neither side complied with its conditions. John and the loyalist barons firmly repudiated the "Magna Carta" and the First Barons' War erupted, with the rebel barons aided by Philip's son, the future Louis VIII, who claimed the English throne for himself. The war soon settled into a stalemate, with neither side able to claim victory. The King became ill and died on the night of 18 October, leaving the nine-year-old Henry as his heir.