Frederick II negotiated a treaty with Sultan al-Kamil restoring Jerusalem to Christian control without a single battle, ending the Sixth Crusade.