 He participated in the conclave of 1846 to elect Pope Pius IX.Orioli became prefect of the S.C. of Bishops and Regulars on 2 May 1847.From 5 May to 4 June 1848, he served as Secretary of State ad interim.