Prior of the church of San Salvador of Zaragoza in 1406, he would become a personal attendant of Antipope Benedict XIII at Perpignan, France, on 1 May 1407.
The antipope sent him as "nuncio" to Spain, especially before King Martin I of Aragon, and he was one of the seven ambassadors sent by Benedict XIII at the beginning of 1409 to negotiate the abdication with the Council of Pisa and the papal court of Pope Gregory XII; the mission was a complete failure.
In 1415 he was invested a nuncio of Benedict XIII in Naples, Sicily, Sardinia, and Corsica; his mission was to convince Queen Joan II of Naples to join the obedience of Avignon Popes but at the last minute, the queen changed her mind and married French Prince Jacques de Bourbon and maintained her allegiance to Rome.
He was transferred to the see of Lleida on 13 November 1415; one of his vicars general was Alfonso de Borja, future Pope Callixtus III.
In 1424, he was the driving force of the Council of Tarragona, convoked to finish the last vestiges of the schism; in the name of the participants, he admonished King Alfonso V of Aragon for the support he was giving to schismatics of Peñíscola, those supporting Benedict and the measures he had taken against Pope Martin V, inspired on political reasons, such as the matter of Naples.
In September 1429, he had a very active part in the Council of Tortosa, along with Cardinal Pierre de Foix, papal legate, to end the remnants of the Western Schism; he responded to the inaugural address of the legate and intervened in the revision of the twenty-two constitutions of reform, among them a very important one concerning the catechism.
He was promoted to the metropolitan see of Tarragona on 4 July 1440, then he returned to Aragón as counsellor of King Alfonso V, who was at war with Castile.