Original: The musket replaced the arquebus, and was in turn replaced by the rifle.
Simplified: The musket is the weapon that replaced the arquebus, and was then replaced by the rifle.