This connection between the two countries was made possible by the construction of the Perpignan–Barcelona high-speed rail line (a follow-up of the Madrid-Barcelona line), completed in January 2013, and its international section Perpignan-Figueres, which opened on December 2010 and includes a new 8 kilometers tunnel under the Pyrenees.