 Dubays was crushed by a Seljuq army under Zengi, founder of the Zengid dynasty.Mahmud's death was followed by a civil war between his son Dawud, his nephew Mas'ud and the atabeg Toghrul II.Zengi was recalled to the East, stimulated by the Caliph and Dubays, where he was beaten.