The modern city was founded at the beginning of the Islamic era in 636 and began as a garrison encampment for Arab tribesmen constituting the armies of the Rashid Caliph Umar. A tell a few kilometres south of the present city, still marks the original site.