Ferretti was born on 9 March 1817 in Ancona and was educated there until he joined the Pontifical Academy of Ecclesiastical Nobles.
Ferretti lahir pada 9 Maret 1817 di Ancona dan dididik disana sampai ia masuk Akademi Kepausan Bangsawan Gerejawi.