The Kingdom of Asturias began in 720, with the Visigothic aristocrat Pelagius's (685–737) revolt against the Muslims who at the time were occupying most of the Iberian Peninsula. The Moorish invasion that began in 711 had taken control of most of the peninsula, until the revolt in the northern mountains by Pelagius. The resulting Kingdom of Asturias, located in an economically poor region of Iberia, was largely ignored by the Muslims. In 720, the area where Oviedo is now located was still uninhabited.