Question: When did the Shahis switch from Buddhist to Hindu?
Sentence: The Shahis are generally split up into two eras: the Buddhist Shahis and the Hindu Shahis, with the change-over thought to have occurred sometime around 870.
Answer in sentence: yes