Complex sentence: The M7 was partially replaced by the M9 bayonet in Army service, and the Marine Corps replaced it with the OKC-3S bayonet.
Split into simpler sentences: The M7 was partially replaced by the M9 bayonet in Army service. And the Marine Corps replaced it by the OKC-3S bayonet.