Conversion to Christianity, attested in the 3rd century, was completed in urban areas in the 4th century. Although Hispania remained under Roman rule and did not fall under the rule of Vandals, Swabians and Alans in the 5th century, the main cities suffered frequent sacking and some deurbanization. While archaeological evidence shows the recovery of some urban nuclei, such as Barcino (later Barcelona), Tarraco (later Tarragona), and Gerunda (later Girona), the previous situation was not restored: the cities became smaller, and constructed defensive walls.