In the year 713, only two years after the Moorish invasion of the Peninsula, the emir Abd al Aziz occupied the province. Murcia was founded with the name of Medinat Mursiya in A.D. 825 by Abd ar-Rahman II, emir of Al-Andalus. The Moors, taking advantage of the course of the river Segura, created a complex network of irrigation channels that made the town prosperous and is the predecessor of the modern irrigation system. The traveller Muhammad al-Idrisi described it in the 12th century as populous and strongly fortified.
