This state of affairs, with the Kingdom of Jerusalem reduced to a sliver of coastal land, would remain for most of the 13th century. Jerusalem, Bethlehem, and Nazareth, as well as a thin strip of land connecting the cities to the coast, was awarded the kingdom in 1229 following negotiations that concluded the Sixth Crusade. Ten years earlier, the Ayyubids had destroyed Jerusalem's city walls to prevent the Latins from capturing a fortified city. In 1244, Jerusalem was captured by Khwarizmians who went on to burn churches and to massacre the Christian population. The shock of the atrocities goaded the Latins into action. The Latin nobility pooled all the resources they had together into the largest field army amassed in the East since the late 12 century. Strengthened by troops from dissident Muslim rulers, they met the Ayyubid-Kwarizmian coalition at the Battle of La Forbie north-east of Gaza. There, they suffered a disastrous defeat, marking the end of Latin influence in southern and central Palestine. In 1291, the Mamluks destroyed Acre, the Kingdom of Jerusalem's capital and last stronghold.