Complex sentence: The Sagami Railway is different from the JR Sagami Line, which was established by the Sagami Railway and nationalized during the Pacific War.
Split into simpler sentences: The Sagami Railway is different from the JR Sagami Line. That line was established by the Sagami Railway and nationalized during the Pacific War.