Honoring a vow he had made while praying for recovery during a serious illness, Louis IX led the ill-fated Seventh and Eighth crusades against the Ayyubids, Bahriyya Mamluks and Hafsid Kingdom. He was captured in the first and ransomed against a third of France's annual revenue, and he died from dysentery during the latter. He was succeeded by his son Philip III.