When Girolamo Masci of Ascoli, who had previously been Minister General of the Franciscan Order, became pope as Nicholas IV, 15 February 1288, he created Matthew cardinal with the titulus of San Lorenzo in Damaso that May. After this Matteo was made Cardinal Bishop of Porto, and penitentiarius major (Grand Penitentiary).
Nicholas IV, who had previously been Minister General of the Franciscan Order, became pope on 15 February 1288. He then created Matthew cardinal with the title of San Lorenzo in Damaso in May. Subsequently, Matteo was appointed Cardinal Bishop of Porto and Grand Penitentiary.