The connecting link was the construction of the 131 kilometers Barcelona–Figueres section of the Perpignan–Barcelona high-speed line, an extension of the Madrid–Barcelona line, completed in January 2013 at a cost of €3.7 billion.