 Martelli obtained the title of secretary in the Roman Curia by Pope Innocent XI.On 21 July 1698 he was promoted to the titular patriarchate of Jerusalem.Francesco Martelli was created cardinal priest in the consistory of 17 May 1706 by Pope Clement XI with the title of Sant'Eusebio.