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 .
Any remaining resistance members were summarily executed .