Complex sentence: The first two wives had all provided Maria's father with a son but Eleonora didn't until 1657 when she gave birth to a son called Ferdinand, born in the year of the death of his father.
Split into simpler sentences: The first two wives had all provided Maria's father with a son. Eleonora gave birth to a son called Ferdinand in 1657, born in the year of the death of his father.