Input (grade 11): Mahmud II (died 1131) proclaimed himself the Seljuk sultan of Baghdad in 1118 following the death of Mehmed I (probably Mahmud's father).
Output (grade 11): Mahmud II (Kab zl k) (died 1131) proclaimed himself the Seljuk sultan of Baghdad in 1118 following the death of Mehmed I (probably Mahmuds father).