<prompt> Translate the following text to EnglishWalijitenga na kuta za Palma, lakini siku ya mwisho ya 1229 mji ulipigwa, na vikundi vya upinzani katika kisiwa hicho vyote vilishindwa.  <response>: The defenders retreated inside the walls of Palma, but on the last day of 1229 the city fell, and pockets of resistance throughout the island were also defeated. 