The Madrid–Seville high-speed railway line connects Madrid with Seville in the south of Spain, passing through the cities of Ciudad Real, Puertollano and Córdoba, where the Madrid–Málaga high-speed rail line branches off towards Málaga just outside Los Mochos near Almodóvar del Río. The route travels across the plains of Castile, travelling through the Sierra Morena mountains just before reaching Córdoba, before going onward towards Seville through the largely flat land surrounding the Guadalquivir river. The Madrid–Seville line was the first dedicated passenger high-speed rail line to be built in Spain and was completed in time for Seville's Expo 92. With a length of 472 km, the fastest train journey between the two cities takes 2 hours and 20 minutes. The line is served by S-100 (max speed ) trains. The extension section of the Madrid-Seville high-speed rail line to Cádiz is served by Alvia trains that connect the city of Cádiz to Madrid and reach speeds up to 200 km/h in this section.