The first railway tunnel in Spain Historical milestone · Montgat, Maresme, Barcelona Image of Montgat, not of the place itself. To cross the promontory of Montgat, the Barcelona to Mataró line bored in 1848 the first railway tunnel built in Spain. The work required cutting back the rock above the sea and remained as the founding image of the peninsular train. 1848 Photo: Msoengas (CC BY 3.0) What to see and do in Montgat