Fed Chair Jerome Powell said Friday he does not foresee a US recession in the near future, despite recent warnings by economists about an impending downturn.

“Our main expectation is not at all that there will be a recession,” Powell said during a forum on monetary policy at the University of Zurich in Switzerland.

“I did mention there are these risks, and we are monitoring them closely, conducting policy in a way that will address them, but I do not see recession as the most likely outcome for the United States or for the world economy for that matter.”

The fed chair’s remarks — which came hours after President Trump asked on Twitter, “Where did I find this guy? — painted a rosy picture of the US economy while acknowledging that Trump’s trade war with China had created uncertainties.

“Payroll jobs are coming in at well above the level that new people are entering the labor market. That means the labor market is still tightening at the margin. By so many measures, the labor market continues to strengthen. The consumer is in good shape,” he said.

His comments came days after many economists offered a more pessimistic view of the economy and likelihood of a recession.

The economists — and investors — were alarmed by a scenario called the “inverted yield curve,” which occurs when interest rates on short-term bonds are higher than the interest rates paid by long-term bonds, and which historically has been a reliable predictor of a coming downturn.

Powell, 66, would not talk specifically about trade policy, saying that was not the Fed’s role.

But he acknowledged that trade uncertainty could have negative effects.

“There are significant risks. We have been monitoring those, including slowing global growth, uncertainty around trade policy, and persistently low inflation,” he said.

“It is the case that uncertainty around trade policy is causing some companies to call back now on investment. Our obligation is to use our tools to support the economy. That is what we will continue to do.”

And he emphatically dismissed the idea that political pressure, which has come primarily from the president, who wants him to cut interest rates, played a role in the Fed’s decisions as the 2020 elections approached.

“Political factors play absolutely no role in our process. My colleagues and I would not tolerate any attempt to include them in our decision-making or discussions,” said Powell, a graduate of Princeton and Georgetown’s law school.

“That is not our DNA. Our DNA is what I mentioned earlier, strongly committed to nonpolitical decision-making, We serve all Americans regardless of their political party. It is just simply wrong, the idea that we would deviate from that is simply wrong. The answer would be a hard no.”

The commander in chief has repeatedly badgered Powell on Twitter and during his public remarks, blaming him for fears of a recession, and arguing that Powell should be more aggressive cutting interest rates.

“The Fed should lower rates. They were WAY too early to raise, and Way too late to cut – and big dose quantitative tightening didn’t exactly help either. Where did I find this guy Jerome? Oh well, you can’t win them all!” Trump tweeted earlier Friday.

Despite the criticism, Powell, when asked by the moderator if he had any regrets, said that he had no regrets working for Trump, who appointed him to the post.

“It is a great honor to serve, and in particular at the Federal Reserve, which is committed to decision-making based on the best analysis we can muster. It is a great place that has a very strong ethic, very high morale among our people, because of that commitment to nonpolitical public service,“ he said.

Asked to laughter how he tuned Trump out, he replied that he and his colleagues were “completely focused” on doing their jobs and were not swayed by political contretemps.

And he would not comment specifically when asked if the Fed planned to cut rates, as Trump has demanded, saying only that the bank would take appropriate actions as events warranted.