 Albani's other appointments included Secretary of Secret Domestic Briefs on 30 January 1824, as Legate in Bologna on 10 December 1824, Secretary of State to Pius VIII from 31 March 1829 until 30 November 1830, and as Secretary of Apostolic Briefs from 15 April 1829 until his death.He was also Librarian of Holy Roman Church beginning on 23 April 1830.In 1831 he was also appointed Legate in Urbino and Pesaro, and was the commissary extraordinary charged with reestablishing order in the Legations.