<prompt> Translate the following text to SwahiliThe 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.  <response>: Walijitenga na kuta za Palma, lakini siku ya mwisho ya 1229 mji ulipigwa, na vikundi vya upinzani katika kisiwa hicho vyote vilishindwa. 