In the long term, the Spanish government has an ambitious plan to make 7000 kilometers of high-speed railway operational, with all provincial capitals at most only 4 hours from Madrid, and 6 hours from Barcelona.