Original: 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.
Simplified: When Anastasia was born, her family was disappointed. They had hoped for a son who would be heir to the throne.