Complex sentence: The Sagami Railway is different from the JR Sagami Line, but actually, it's originally 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.