The Línea P (P Line, Organización Defensiva de los Pirineos) was a fortified line of defense built in the Pyrenees between 1944 and 1948 to prevent an invasion of Spanish territory.
After the end of the Spanish Civil War, General Franco's government decided to build a line of defenses in the Pyrenees, stretching from the Mediterranean to the Cantabrian Sea. 8,000 - 10,000 bunkers were planned, about half of which were completed.
The defense points of the Línea P and its access roads were built by prisoners of war and imprisoned political opponents of the Francoist regime.
The Línea P was finally abandoned after the Spanish Army carried out its last inspection in the 1980s.