It also put him at the forefront of the battle for the GOP’s soul.