<prompt> Translate the following text to SwahiliThe islands 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.  <response>: Usalama wa kisiwa hicho ulidumu hadi mwaka wa 1287, wakati Alfonso wa Tatu wa Aragon, akiwa amesumbuliwa na unyanyasaji uliotokea mikononi mwa wakuu wake, alipopata kisingizio cha kuvamia kisiwa hicho. 