The island's tranquility lasted until 1287, when Alfonso III of Arag??n, smarting over a series of humiliations at the hands of his nobles, found a pretext for invasion.

Does it follow that "The island was peaceful until 1287, when Alfonso III decided to invade it."?
yes