Complex sentence: Toulouse waited a long time for the arrival of the railway as one of its mayors, Joseph Villèle, refused to accept it and it only in the middle of the XIX th century that the railway arrived.
Split into simpler sentences: Toulouse waited a long time for the arrival of the railway as one of its mayors, Joseph Villèle, refused to accept it. It was only in the middle of the XIX th century that the railway arrived.