Complex sentence: When Anastasia was born, her parents and extended family were disappointed to have a fourth daughter, because they wanted a son who would be heir to the throne.
Split into simpler sentences: When Anastasia was born, her parents and extended family were disappointed about the child's sex. They hoped for a son who would be heir apparent to the throne.