Before revision: Toghril Beg, the Seljuq Wazir , restored Baghdad to Sunni rule and took Iraq for his dynasty.
After revision: Toghril Beg, the Seljuq sultan , restored Baghdad to Sunni rule and took Iraq for his dynasty.