Because of its location, the territory of Spain was subject to many external influences, often simultaneously, since prehistoric times and through the dawn of Spain as a country. Conversely, the country itself has been an important source of influence to other regions, chiefly during the Modern Era, when it became a global empire