Original: Mary was betrothed in December 1507 to Charles of Castile, later Holy Roman Emperor.
Simplified: She was first betrothed to Charles of Castile, later the Holy Roman Emperor.