But by his second wife, the heiress of Castile, John had left an only daughter, wife of Henry III., king of Castile and Leon, who also left descendants, and from his third but ambiguous union sprang the house of Beaufort, whose doubtful claims to his heirship passed with his great-granddaughter Margaret, by her husband Edmund Tudor, to their son Henry VII.