After the end of the Spanish Civil War, the government of General Franco decided to build a defensive line in the Pyrenees, that would go from the Mediterranean to the Cantabrian Sea, approximately of fortified defensive points, stretching up to a depth of from the border.