In 1643, Gabrielli was appointed co-legate in Urbino (together with Cardinal Francesco Barberini), a position he held until 1646.
He participated in the conclave of 1655 that elected Pope Alexander VII and opted for the deaconry of Santa Maria in Via Lata later that year.