Lahore is undoubtedly ancient. Legend had it that it was founded by Loh, son of Rama, the hero of the Hindu epic, the Ramayana. Some others think that the name means Loh-awar, meaning a "Fort as strong as Iron". It waxed and waned in importance during the Sultanate. Lahore came under Muslim rule in 1206 with Qutub-ud-Din Aibak and reached its glory during the Mughal period.