The threat fell first and most heavily on young Charles Hapsburg, who became the seventeen-year-old king of Spain in the same year that Cairo fell to the Turks. By the time he was elected Holy Roman emperor two years later, the Turks had taken Algiers from Spain, the trade routes of Venice and the other seafaring cities of the Italian peninsula were in danger of being cut off by Turkish raiders, and the southern Hapsburg kingdoms of Naples and Sicily were under direct threat.