Question: What year did Isfahan gain victory over Hamadan?
Sentence: War meanwhile continued between the rulers of Isfahan and Hamadãn; in 1024 the former captured Hamadan and its towns, expelling the Tajik mercenaries.
Answer in sentence: yes