The ancient civilizations of Phoenicians, Greeks, and Carthaginians founded colonies along the Mediterranean coast of the Iberian Peninsula between 2000 BC and 146 BC, developing trade and exploiting natural resources. The Romans then began conquering the peninsula in 218 BC and were not finished until 19 BC, leaving a lasting legacy in law, language, and religion. After the fall of the Western Roman Empire in 476 AD, the Visigoths took control of Hispania and established a kingdom that ruled until 711 AD, becoming Romanized by adopting Latin, Roman law, and Catholicism.