Republican nominee Donald Trump said Monday that if elected U.S. president he will weigh an alliance with Russia against Islamic State militants but rejected any suggestion Russian President Vladimir Putin might be trying to help him win.

Speaking at a rally in Winston-Salem, North Carolina, Trump dismissed any suggestion that Putin's intelligence services might have had a hand in hacking the Democratic National Committee's (DNC)email system.

Emails leaked last week disclosed that some party officials had been in favor of former Secretary of State Hillary Clinton winning the Democratic presidential nomination over U.S. Sen. Bernie Sanders and sought ways to thwart Sanders.