Where was the location of the Shahi defeat by the Muslims