<prompt> Translate the following text to SwahiliJaume I died after reigning in Arag??n for six decades, but he made the cardinal error of dividing between his sons the lands he had fought for so long to unite.  <response>: Jaume I alikufa baada ya kutawala Aragon kwa miongo sita, lakini alifanya kosa kubwa la kugawanya kati ya wanawe nchi ambazo alikuwa amepigana kwa muda mrefu kuunganisha. 