<prompt> Translate the following text to EnglishMfalme James I wa Aragon aliidhinisha uvamizi wa visiwa hivyo chini ya vikosi vilivyoongozwa na Guillermo de Montgrí, raia thabiti wa Catalonia mwenye cheo cha kanisa.  <response>: King James I of Aragon authorized the occupation of the islands under forces commanded by Guillermo de Montgri, a solid Catalonian citizen with titular ecclesiastical rank. 