Mohammed Bin Qasim  was able to defeat  Dahir  in  Sindh  but was routed by  Bappa Rawal .  Qasim  attacked  Chittore , which was ruled by  Mori  Rajputs, via  Mathura . Bappa, of  guhilote  dynasty, was a commander in Mori army and so was Dahir's son. Bappa defeated and pursued  Bin Qasim