At the end of the 7th century, the Visigothic Kingdom began to suffer from internal troubles. Their kingdom fell and was progressively conquered by the Umayyad Caliphate from 711 after the defeat of their last king Roderic at the Battle of Guadalete. Some Visigothic nobles found refuge in the mountain areas of the Asturias, Pyrenees and Cantabria. According to Joseph F. O'Callaghan, the remnants of the Hispano-Gothic aristocracy still played an important role in the society of Hispania. At the end of Visigothic rule, the assimilation of Hispano-Romans and Visigoths was occurring at a fast pace. Their nobility had begun to think of themselves as constituting one people, the "gens Gothorum" or the "Hispani". An unknown number of them fled and took refuge in Asturias or Septimania. In Asturias they supported Pelagius's uprising, and joining with the indigenous leaders, formed a new aristocracy. The population of the mountain region consisted of native Astures, Galicians, Cantabri, Basques and other groups unassimilated into Hispano-Gothic society. The Christians began to regain control under the leadership of the nobleman Pelagius of Asturias, who founded the Kingdom of Asturias in 718 and defeated the Muslims at the Battle of Covadonga in ca. 722, in what is taken by historians to be the beginning of the Reconquista. It was from the Asturian kingdom that modern Spain and Portugal evolved.