Spain was ruled by the Borbón family and the beautiful Maria de las Mercedes from the Orléans branch of the family married King Alfonso XII. She was the daughter of Princess Luisa Fernanda. She died of tuberculosis six months after her marriage to King Alfonso XII of tuberculosis. He married a second time to Maria Cristina of Orléans, but she also died of tuberculosis. He Married Maria Christina Habsburg out of duty, who outlived him and bore King Alfonso XIII. Her Wikipedia article is here.