WASHINGTON (Reuters) - President Donald Trump’s Twitter attack on an impeachment witness during her testimony on Friday drew a furious response from Democrats, who accused him of witness intimidation, and even some allies criticized him.

“Witness intimidation is a crime,” U.S. Senator and presidential contender Kamala Harris wrote on Twitter after Trump wrote that everywhere former U.S. Ambassador Marie Yovanovitch went in her long career “turned bad.”

Trump lashed out at Yovanovitch as she was testifying on the second day of televised hearings in the U.S. House of Representatives Intelligence Committee impeachment inquiry, which threatens the Republican president even as he seeks re-election next year.

“The president is smearing the anti-corruption ambassador as she testifies against him,” said Democratic Representative Eric Swalwell. “This lie is an effort to discredit her and chill others who may have the courage to testify against him. This is open-and-shut consciousness of guilt. He keeps acting guilty.”

House Intelligence Committee Chairman Adam Schiff read Trump’s tweet out to Yovanovitch during the hearing, and asked for her response.

“I can’t speak to what the president is trying to do, but I think the effect is to be intimidating,” she said.

Schiff replied: “Well, I want to let you know, ambassador, that some of us here take witness intimidation very, very seriously.”

Slideshow ( 2 images )

Other Democratic committee members expressed outrage.

Fox News, whose prime-time commentators often support Trump, was critical of his Twitter attack on Friday, with anchors and guests saying Yovanovitch was a credible witness and the tweets were ill-advised.

“There is no way to put lipstick on this porcine situation,” said Ken Starr, a conservative commentator and the special prosecutor in the investigation that led to impeachment charges against Democratic President Bill Clinton in 1998.

But Republican Representative Jim Jordan dismissed a reporter’s suggestion that Trump’s tweeting during the testimony might not be helpful to Republicans on the committee.

“Look, the president has been frustrated with this relentless attack on him that started even before he was president,” Jordan said. “I think that’s what drives that.”

Asked to comment on Democratic claims of witness intimidation, Jordan said: “The witness is testifying. She wouldn’t even have known about the quote, if Mr. Schiff hadn’t read the tweet.”

Republican Representative Mark Walker, a leading conservative, agreed, saying: “I don’t think it’s witness intimidation. What I do think, it is a redirection to make sure that people understand, specifically at the State Department, that they serve at the pleasure of the president.”

Doug Heye, a Republican strategist who often criticizes Trump, said the tweet would do little to sway public opinion on the hearings.

“The battle lines have largely been drawn and people have made up their minds. The problem for Trump here is that, instead of being a counterpuncher he claims to be, he simply always takes the bait,” Heye said. “We learned a long time ago that despite the wishes of even his own staff, Trump is never going to simply stop tweeting.”