California Gov. Gavin Newsom fired back at President Donald Trump after his attacks against Nancy Pelosi and the governor during a press conference with Finland's president.

Newsom said in tweet: "Actually watched your press conference — mainly just feel bad for the poor President of Finland who had to endure that."

Trump railed against Pelosi, D-Calif., for her focus as Speaker of the House on the recent House impeachment inquiry sparked by a whistleblower complaint accusing Trump of soliciting foreign interference in the 2020 election.

More:Whistleblower says Trump used 'the power of his office' to solicit foreign help to discredit Joe Biden

"Ninety-nine percent of Nancy Pelosi's time is spent on this," Trump said.

"I'm sorry to bother you with this, Mr. President, because we have other things to talk about," Trump said in an aside to Finland's Sauli Niinistö as he began his attack on Pelosi.

"She should focus on her own district, do you see what's happening to her district?" Trump continued. "We call it tent city... There's needles and drugs all over the street, there's tents, there's people that are dying in squalor in the best location in San Francisco."

Trump then brought up Newsom, who signed a California law in July that would require presidential candidates to disclose five years of tax returns in order to appear on the March primary ballot.

A district court judge announced a decision temporarily blocking that law yesterday. The decision will be appealed by the state, according to the Sacramento Bee.

"Yesterday, as you know, I was sued by the governor, Gavin Newsom, he's another beauty, I was sued by him, he's a do-nothing. Sued by him so that I can't get on the ballot on the state of California," Trump said at the press conference Wednesday.

"It was the biggest story... It was headlines all over the place: 'Trump gets sued by this do-nothing governor in California...,'" Trump said. "I didn't see one story that I won that case, not one story from the fake news."

Newsom has been vocally supportive of the impeachment inquiry into Trump. He said on The Daily Show the day that Pelosi announced the impeachment probe, "There's no doubt he will be impeached."

Trump and the state of California have also clashed on the president's recent efforts to revoke California's authority to set its own vehicle emissions standards. Newsom said the White House had "abdicated its responsibility to the rest of the world" to address climate change.

"Heard you just gave me a shout out in the Oval Office," Newsom said after the press conference.

"Today, we are all Sauli Niinistö," Newsom tweeted along with an image of the Finland president with what appears to be a perplexed expression.