In pre-Roman times (5th century BC), Ávila was inhabited by the Vettones, who called it Obila ("High Mountain") and built one of their strongest fortresses here. There are bronze age stone statues of boars (known as verracio) nearby.
Ávila may have been the ancient town known as Abula, mentioned by Ptolemy in his Geographia (II 6, 60) as being located in the Iberian region of Bastetania. Abula is mentioned as one of the first cities in Hispania that was converted to Christianity by Secundus of Abula (San Segundo), however,Abula may alternatively have been the town of Abla.
After the conquest by ancient Rome, the town was called Abila or Abela. The plan of the city remains typically Roman; rectangular in shape, with its two main streets (cardo and decumanus) intersecting at a forum in the center. Roman remains that are embedded in city walls at the eastern and southern entrances (now the Alcazar and Rastro Gates) appear to have been ashar altar stones.
By tradition, in the 1st century, Secundus, having travelled via the Roman province of Hispania Baetica, brought the Gospel to Avila, and was created its first bishop.
After the fall of the Western Roman Empire, Ávila became a stronghold of the Visigoths. Conquered by the Arabs (who called it Ābila), it was repeatedly attacked by the northern Iberian Christian kingdoms, becoming a virtually uninhabited no man's land. It was repopulated about 1088 following the definitive reconquest of the area by Raymond of Burgundy, son of Alfonso VI of León and Castile. He employed two foreigners, Casandro Romano and Florin de Pituenga, to construct a stone frontier city and creating the walls that still stand.
The city achieved a period of prosperity under the Catholic Monarchs in the early 16th century, and their successors Charles V and Philip II of Spain, but began a long decline during the 17th century, reducing to just 4,000 inhabitants.
In the 19th century there was some