I want to know the answer to the following question:
What dynasty ended in December 1004?
All the background I'm provided with is that "When Ibn Sina was 22 years old, he lost his father.". Is that enough to answer the question?