sentence1: 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.
sentence2: They were unable to penetrate Palma's defenses.