Louis VIII
The ‘Louis of France’ mentioned in the will might theoretically be Louis VIII of France, but considering that Alfonso was only five years old at the death of Louis VIII it is unlikely that the King Louis he referred to was Louis VIII, so the will must have meant Louis IX. Fernando III, Alfonso's father, was a cousin of Louis IX and there were close links between the French and the Castilian royalties.