Vitoria-Gasteiz
In this century the customs house was moved from Vitoria to the coast, seriously affecting  the local economy. However, the effect was softened with the development of the services sector. In 1813 Spanish forces with their allies defeated France in the Battle of Vitoria, ending the French invasion.