The document summarizes Spanish history from ancient times to the Middle Ages. It describes how Iberians and Celts inhabited the Iberian Peninsula starting 3000 years ago. Later, Phoenicians and Greeks established trade routes along the Mediterranean coast. The Romans then conquered Hispania from 219 BC to 19 BC, introducing Roman culture. During the Middle Ages, the Visigoths ruled until the Muslim conquest in 711 AD and establishment of the Caliphate of Córdoba. As Muslims ruled most of the peninsula, Christian kingdoms emerged in the north and gradually reconquered territory until the fall of Granada in 1492.