Military history of Spain
The military history of Spain, from the period of the Carthaginian conquests over the Phoenicians to the former Afghan War spans a period of more than 2200 years, and includes the history of battles fought in the territory of modern Spain, as well as her former and current overseas possessions and territories, and the military history of the people of Spain, regardless of geography. Spain's early military history emerged from her location on the western fringes of the Mediterranean, a base for attacks between Rome and Carthage.
Source: Wikipedia — Military history of Spain (CC BY-SA 4.0)