Text: 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.
Entailment: Palma was defeated when its walls fell.
Contradiction: They were unable to penetrate Palma's defenses.