The story also appears in the Qur'an, Surat al-Kahf 83-98. Here, Alexander is called Dhul Qarnayn, a savior figure who builds a huge iron gate to defend people at the foot of two mountains from Gog and Magog.[3]