Answer
The answer is the Seventh Crusade. King Andrew II of Hungary led the Seventh Crusade in 1217, responding to the call from Pope Honorius III following the collapse of the Latin Kingdom of Jerusalem in the face of Muslim advances under Ayyubid Sultan Al-Kamil. Although Andrew II achieved some initial victories, capturing the port city of Damietta in Egypt, he eventually made peace with Al-Kamil and returned to Hungary.