Heavy rain and hail had been falling in the area and a rockfall caused the carriage to leave the tracks at Cabezon de la Sal, 280 miles (450km) north of Madrid, according to Adif, national operator of rail infrastructure.

Divers were called to the scene but national train operator Renfe said all passengers had been accounted for and a search of the river had not been necessary.