Although things seemed to be in his favour, still the King of Spain's election was far from a certainty. Henry of Nassau, writing to Margaret, did not conceal the difficulties that had to be overcome. 'The king,' he says, 'is little known in Germany; the French have said much against him, and the Germans, who come from Spain, have hardly said any good.'

Whilst the struggle between the rival kings' agents continued, the kings themselves were no less anxious as to the final issue. Charles was certain that if the imperial crown left the House of Austria the French would lay claim to his hereditary German states as well as to his kingdom of Naples; and besides being forced to renounce for ever the recovery of the duchy of Burgundy, he might even run the risk of being despoiled of the Netherlands.

On the other hand, the possible election of Charles filled Francis with dismay. On the 16th of April 1519 he wrote to his ambassadors in Germany: 'You understand the reason that moves me to acquire the empire and prevent the Catholic king from acquiring it. If he gets it, seeing the greatness of the kingdoms and lordships he possesses, he might, in time, do me inestimable harm. I should always be uneasy and mistrustful, and it is to be feared that he would take good care to drive me out of Italy.'

But at last the long struggle came to an end, the Pope withdrew his opposition, and Margaret was rewarded by Charles's election at Frankfort as King of the Romans on June 28th, 1519, five months and ten days after Maximilian's death. The news of his election was conveyed in nine days from Frankfort to Barcelona, where Charles was detained by the Catalonian Cortes. His coronation, which gave him the title of 'Romanorum Imperator,' did not take place until the following year. The title of Emperor, though carrying with it no possessions, gave him the position of 'first of earthly potentates in dignity and rank.'

Louise of Savoy bitterly alludes to her son's successful rival in her diary. 'En Juillet, Charles Ve de ce nom, fils de Philippe, archiduc d'Autriche, fut, après que l'Empire eut esté vacant par l'espace de cinq mois, éleu roy des Romains en la ville de Francfort. Pleut à Dieu qu'il eust plus longuement vacquée, ou bien que pour jamais on l'eust laissé entre les mains de Jhésus-Christ, auquel il appartient et non à d'autres.'[66] Public rejoicings and processions gave expression to the Netherlanders' joy at this great event, and the States enthusiastically voted 200,000 crowns for the expenses of the forthcoming coronation. On the 30th of June Margaret informed the governors of the provinces of Charles's election, and at the same time ordered the towns and villages to give thanks to God 'by processions, sermons, pious prayers and orisons,' and to have 'fireworks, rejoicings, and other festivities which were suitable and usual in such a case.' In her letter to the Governor of Lille she triumphantly says: 'We have, this hour, received letters from the ambassadors of the king, my lord and nephew, who are now in Germany, in which they inform us that ... MM. the electors of the Holy Empire have unanimously, through the inspiration of the Holy Spirit ... elected my said lord and nephew King of the Romans.... We command you ... to inform his good subjects ... requesting them to praise and render thanks to God our Creator, by processions, sermons, devout prayers and orisons.'

Margaret's instructions were well carried out, and the festivities lasted a month until the end of July.

But Charles was badly needed in Flanders, for the four years' truce with Charles of Gueldres had expired, and the Guelderlanders were again giving trouble. Margaret's hands were full, and she anxiously awaited her nephew's arrival. After having handed over the government to Adrian of Utrecht, he left Barcelona on the 20th of January, and disregarding the murmurs of his Spanish subjects, who were smarting under the insult of a Castilian Cortes being summoned to meet at Santiago, passed through Burgos, Valladolid, and Gallicia to the port of Corunna.

He set sail towards the end of May and steered a straight course for England, intending to pay a visit to Henry VIII. and his aunt, Queen Katharine. A negotiation had for some time been secretly carried on between Cardinal Wolsey and the Court of Spain, and this visit was not as sudden as it appeared. In the previous March Charles had sent envoys to England to propose a friendly visit during his intended journey from Spain to Flanders. In a letter written to Charles by his ambassadors from London on the 19th of March 1520 we learn that King Henry sent for them to Greenwich on the previous day, which was a Sunday, and after mass took them aside, Cardinal Wolsey and Queen Katharine being present, and told them that he was very glad that things had turned out as they had done, and addressing Queen Katharine said, that when the emperor, his brother, and her nephew should arrive, he hoped to see him before meeting his brother of France.... That he had written to the French king to postpone seeing him until later, but had taken care not to give any reason for so doing. He hoped he would receive a favourable reply, for he thought it hardly possible that the King of France had heard of the emperor's intended visit to England, for when he heard of it he would not be pleased, and for this reason things were to be kept as secret as possible. 'The queen then raised her eyes to heaven and praised God for the hope she had for the fulfilment of her dearest wish, which was to see your Majesty, and humbly thanked her lord the king, making him a very low curtsey, and the said lord king took off his cap and said to her, "We on our side will do all that we can...."'[67]

With every precaution of secrecy a treaty was signed on the 11th of April minutely arranging the reception of Charles by Henry and Katharine, either at Sandwich on his way to the Netherlands, or at a subsequent meeting between Calais and Gravelines.

It was towards the end of May when news was brought to Henry at Canterbury that the emperor's fleet had been sighted off Plymouth, and was sailing up the Channel. Wolsey was sent off at once to greet Charles with a Latin speech and invite him to land. Surrounded by his suite and a goodly retinue, Charles landed at Dover on May 26th, and was conducted to the castle, where, early on the following morning, Henry arrived and warmly welcomed his nephew. Amidst cheering crowds, who wondered at the simplicity of the Spanish king's dress and following, the two monarchs rode together to Canterbury, where Queen Katharine impatiently awaited her sister's son. By her side was her little daughter, Mary Tudor, a fair-haired child of four, with big brown eyes, and near her stood the elder Mary Tudor, the beautiful Duchess of Suffolk, former Queen of France. Charles stayed four days feasting at Canterbury, during which time he cleverly managed to attach Wolsey more closely to his interests by whispering promises of future assistance when the papal throne should become vacant, and deeply impressing the English king by his mature judgment, deference, and courtesy. It was agreed that the two sovereigns should shortly meet again between Calais and Gravelines, and that Henry should be accompanied by Katharine and Charles by Margaret. And so, with many expressions of goodwill on all sides, Charles set sail from Sandwich for Flanders on the same day that Henry embarked at Dover for Calais on his way to meet Francis between Ardres and Guisnes at the memorable scene of splendour and display known as 'the Field of the Cloth of Gold.'[68]