Does the sentence "The Samanid dynasty came to its end in December 1004." answer the question "What dynasty ended in December 1004?"

Available options: (a). yes (b). no
(a).