The document outlines the major stages of Spain's history: 1) Prehistory, from the arrival of hominids 1.2 million years ago until writing was introduced by Mediterranean civilizations. 2) The Ancient Era, from the 1st millennium BC until Germanic invasions in the 5th century AD, including Pre-Roman peoples and Roman Hispania. 3) The Middle Ages, from the 5th century to the late 15th century, spanning Germanic invasions, the Visigothic kingdom, Muslim conquest, the Reconquest and consolidation of Castile and Aragon. 4) The Modern Era from the late 15th century to the early 19th century