Input (grade 12): He became jure uxoris King of Castile when Isabella succeeded her deceased brother in 1474 to be crowned as Queen Isabella I of Castile.
Output (grade 9): He became Ferdinand V of Castile when Isabella succeeded her brother as Queen of Castile in 1474.