Leopold VI and John of Brienne besieged and captured Damietta, but an army advancing into Egypt was compelled to surrender. Damietta was returned, and an eight-year truce agreed.