Manuel I of Portugal decided to appoint the first governor and viceroy of Portuguese India in 1505, da Gama was conspicuously overlooked, and the post given to Francisco de Almeida. Interlude For the next two decades, Vasco da Gama lived out a quiet life, unwelcome in the royal court and sidelined from Indian affairs. His attempts to return to the favor of Manuel I (including switching over to the Order of Christ in 1507), yielded little. Almeida, the larger-than-life Afonso de Albuquerque and, later on, Albergaria and Sequeira, were the king's preferred point men for India. After Ferdinand Magellan defected to the Crown of Castile in 1518, Vasco da Gama threatened to do the same, prompting the king to undertake steps to retain him in Portugal and avoid the embarrassment of losing his own "Admiral of the Indies" to Spain. In 1519, after years of ignoring his petitions, King Manuel I finally hurried to give Vasco da Gama a feudal title, appointing him the first Count of Vidigueira, a count title created by a royal decree issued in Évora on 29 December, after a complicated agreement with Dom Jaime, Duke of Braganza, who ceded him on payment the towns of Vidigueira and Vila dos Frades. The decree granted Vasco da Gama and his heirs all the revenues and privileges related, thus establishing da Gama as the first Portuguese count who was not born with royal blood. Third voyage and death After the death of King Manuel I in late 1521, his son and successor, King John III of Portugal set about reviewing the Portuguese government overseas. Turning away from the old Albuquerque clique (now represented by Diogo Lopes de Sequeira), John III looked for a fresh start. Vasco da Gama re-emerged from his political wilderness as an important adviser to the new king's appointments and strategy. Seeing the new Spanish threat to the Maluku Islands as the priority, Vasco da Gama advised against the obsession with Arabia that had pervaded much of the Manueline period, and continued to be the dominant concern of Duarte de Menezes, then-governor of Portuguese India. Menezes also turned out to be incompetent and corrupt, subject to numerous complaints. As a result, John III decided to appoint Vasco da Gama himself to replace Menezes, confident that the magic of his name and memory of his deeds might better impress his authority on Portuguese India, and manage