His early career was spent as a professor of law at the University of Lleida and he then served as a diplomat to the Kings of Aragon, especially during the Council of Basel (1431–1439).
Masa-masa awal kariernya dihabiskan sebagai dosen ilmu hukum di Lleida dan kemudian sebagai diplomat bagi Raja Aragon, terutama pada masa Dewan Basel (1431-39).