He was elected titular Latin Archbishop of Corinth on 9 September 1675. On 20 September 1675 was appointed Apostolic nuncio in Poland. 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.
