Complex sentence: Nivelle was removed from his command on 15 May 1917 and was replaced by General Philippe Pétain.
Split into simpler sentences: Nivelle was removed from his command on 15 May 1917. He was replaced by General Philippe Pétain.