After 1492, Martyr's chief task was the education of young nobles at the Spanish court. In 1501 he was sent to Egypt on a diplomatic mission to dissuade the Sultan of Egypt from taking vengeance on the Christians in Egypt and Palestine for the defeat of the Moors in Spain and the Fall of Granada. This he achieved by strongly asserting that there were no forced conversions and that Granada Muslims had asked for baptism of their own volition - plus, more importantly, promising Spanish help to Egypt against the threat of conquest by the Ottomans [https://books.google.com/books?id=-_uFDAAAQBAJ&pg=PT415&lpg=PT415&dq=%22Peter+Martyr+d'Anghiera%22+%2B+%22Sultan+of+Egypt%22&source=bl&ots=uXfKFvhy7M&sig=ceSSrCFKgbX3nPoC0QCPiaOo4C8&hl=en&sa=X&ved=0ahUKEwj94unGkfzTAhWjKsAKHX9SD9EQ6AEILDAD#v=onepage&q=%22Peter%20Martyr%20d'Anghiera%22%20%2B%20%22Sultan%20of%20Egypt%22&f=false]. He described his voyage through Egypt in the "Legatio Babylonica," which was published in the 1511 edition of his "Decades". Following the success of this mission, he received the title of "maestro de los caballeros" (master of knights).