 Between 1274 and 1275 Ramon Llull was summoned by Prince James II of Majorca to Montpellier. During this first trip to Montpellier, Llull would suggest that James II found a monastery in Miramar, Majorca, whose main objective would be to teach languages, particularly Arabic, to missionaries. The project was approved and the Crown granted the necessary funds to support the monastery, where 13 Franciscan brothers would reside. The foundation of the monastery was confirmed by Pope John XXI in a papal bull from October 17, 1276.