 In the Treaty of Villafáfila of 1506, Ferdinand renounced not only the government of Castile in favor of Philip but also the lordship of the Indies, withholding half of the income of the "kingdoms of the Indies".Joanna and Philip immediately added to their titles the kingdoms of Indies, Islands and Mainland of the Ocean Sea.But the Treaty of Villafáfila did not hold for long because of the death of Philip; Ferdinand returned as regent of Castile and as "lord of the Indies".