 In 1488 he was sent to Hungary, to the court of Matthias Corvinus as the envoy of the Kingdom of Naples.The queen, Beatrice of Naples commissioned him to write a history of Hungary.Pietro Ranzano has finished the work in a year under the title "Epithoma rerum Hungarorum".