In 1517, he was responsible for the secret negotiations for the King's third marriage, to Eleanor of Austria, in political circumstances of particular complexity; it was Álvaro da Costa who stood in for the King during the proxy wedding ceremony held in Zaragoza in 1518.