The Yiwu–Madrid railway line is a railway route taken by container trains from the Chinese city of Yiwu to the Spanish city of Madrid, a distance of approximately 13,000 kilometres (8,100 mi), and the longest in the world. The Trans-Siberian Railway was previously the longest.