The conflict has pitted the isolationist and hawkish wings of the US leader's party against one another.