President Trump is touting this as a major diplomatic victory, and he is hoping that it will sway some votes in November.