HANOI, Vietnam — President Donald Trump says he believes Russian President Vladimir Putin believes it when he says Moscow did not interfere in the 2016 U.S. presidential election. But Trump says he also believes U.S. intelligence agencies, which have concluded that Russia did meddle in the election.

“I believe that he feels that he and Russia did not meddle in the election,” Trump said of Putin at news conference with Vietnam’s President Tran Dai Quang in Hanoi “As to whether I believe it, I’m with our agencies.”

“As currently led by fine people, I believe very much in our intelligence agencies,” he added.

The U.S. intelligence community has concluded that Russia interfered in the election to help the Republican defeat Democrat Hillary Clinton.

Speaking to reporters aboard Air Force One on Saturday, Trump had said that Putin again vehemently denied the allegations — this time during an economic summit in Vietnam. Trump said he believed “that when he tells me that, he means it.”

Trump had also dismissed former U.S. intelligence officials as “political hacks” and accused Democrats of using the issue to try to sabotage relations between the two countries, putting lives at risk.

At the news conference, Trump reiterated his view that it’s crucial for the U.S. to get along with Russia, and seemed to suggest that it was time to remove the sanctions Congress has slapped on Russia in retaliation for its election meddling efforts.

“It’s now time to get back to healing a world that is shattered and broken,” said Trump. “Those are very important things.”

As he traveled to Hanoi, the second-to-last stop of his Asia trip, Trump told reporters that Putin “said he absolutely did not meddle in our election. He did not do what they are saying he did.”

“Every time he sees me, he said: ‘I didn’t do that.’ And I believe — I really believe — that when he tells me that, he means it,” Trump said, calling the accusation an “artificial barrier” erected by Democrats.

The president lashed out at the former heads of the nation’s intelligence community, and said there were plenty of reasons to be suspicious of their findings. “I mean, give me a break. They’re political hacks,” Trump said, citing by name James Clapper, the former director of national intelligence, John Brennan, the former CIA director and his ousted ex-FBI director James Comey, whom Trump said was “proven now to be a liar and he’s proven to be a leaker.”

In a tweet sent Sunday from Hanoi, Trump bashed the “haters and fools” he said are questioning his efforts to improve relations with Russia and accused critics of “playing politics” and hurting the country.

Trump made more waves on Twitter minutes later, taking a sarcastic shot at North Korean dictator Kim Jong-un.

Trump’s comments about Putin and “political hacks” brought criticism from lawmakers with ties to the intelligence community. Rep. Adam Schiff, the California Democrat who is his party’s top member on the House’s intelligence committee, said in a statement that Trump “fools no one” and that the president understands how the Russians intervened through hacking, social media and their own television coverage of the presidential race.

Sen. John McCain, R-Ariz., the party’s presidential nominee in 2008, said in a statement that Trump’s faith in Putin’s denial was “naive.”

“There’s nothing ‘America First’ about taking the word of a KGB colonel over that of the American intelligence community,” McCain wrote, referring to Putin’s former career in Soviet intelligence. “Vladimir Putin does not have America’s interests at heart.”

Trump was in Hanoi for a brief state visit, including Sunday’s meeting with Quang at the presidential palace.

In brief remarks after his arrival, Trump offered help negotiating with China on disputes over the South China Sea. Beijing’s island-building there has drawn criticism from Washington, which argues the U.S. has a national interest in freedom of navigation in sea lanes critical for world trade. U.S. Secretary of State Rex Tillerson earlier this month said China’s “provocative actions” challenged international law and norms.

Trump also said he hoped to have more help from Chinese President Xi Jinping as well as Russia, when it comes to isolating North Korea. “The North Korean situation continues to be a problem. President Xi I think is going to be a tremendous help. I hope Russia likewise will be a tremendous help. I think they can make a big difference,” he said.

Trump and Putin did not have a formal meeting while they were in Vietnam for the Asia-Pacific Economic Cooperation summit, but the two spoke informally several times and reached an agreement on a number of principles for the future of war-torn Syria.

Trump made clear that the issue of Russian meddling in the election hovers over the leaders’ relationship and said it jeopardized their ability to work together on issues including North Korea’s escalating nuclear program and the deadly conflict in Syria.

“Having a good relationship with Russia’s a great, great thing. And this artificial Democratic hit job gets in the way,” Trump told reporters. “People will die because of it.”

 

The comments made clear that Trump still does not take the meddling seriously and sees little benefit in punishing a nation accused of undermining the most fundamental tenet of American democracy: free and fair elections.

Meanwhile, a special counsel investigation of potential collusion between Moscow and Trump campaign aides so far has resulted in two indictments for financial and other crimes unrelated to the campaign, as well as a guilty plea. Congressional committees have also been interviewing campaign and White House staff.