Dhul-Qarnayn or Zulqarnayn, "he of the two horns", appears in Surah 18 verses 83-98 of the Qur'an as a figure empowered by Allah to erect a wall between mankind and Gog and Magog, the representation of chaos.