In the 19th century, there was some population growth with the construction of the railway line from Madrid to the French border at Irun and an important junction near the town.
No século XIX, houbo un crecemento da poboación coa construción da liña ferroviaria entre Madrid e a fronteira francesa en Irun e un importante nó preto da cidade.