WASHINGTON -- U.S. President Donald Trump on Thursday ridiculed the brains, looks and temperament of a female cable television host whose show he says he has stopped watching. His latest crude broadside against a woman's appearance set off a storm of protest from Republicans and Democrats alike and did nothing to advance his struggling policy agenda.

In a series of tweets morning tweets, the president went after Mika Brzezinski and Joe Scarborough, who have criticized Trump on their MSNBC show "Morning Joe."

Brzezinski responded on Twitter by posting a photograph of a Cheerios box that includes the phrase Critics looking to get under the president's skin have long suggested that his hands appear smaller than usual for his frame.

"It's a sad day for America when the president spends his time bullying, lying and spewing petty personal attacks instead of doing his job," NBC News spokeswoman Lorie Acio said in a statement.

Deputy White House press secretary Sarah Sanders defended the president, suggesting the tweets were just his way of countering an attack from what she deemed a "biased" media.

"I don't think you can expect someone to be personally attacked day after day and minute by minute and sit back. He's been very clear that when he's attacked he's going to hit back," said Sanders in a contentious White House briefing dominated by questions about the tweets.

"It's kind of like we're living in the Twilight Zone. They do this day after day after day and the president responds and defends himself and everyone is blown away."

Melania Trump's spokeswoman, Stephanie Grisham, said, "As the first lady has stated publicly in the past, when her husband gets attacked, he will punch back 10 times harder."

It was not immediately clear what set Trump off. About two hours before his tweets, Brzezinski said on the show that "it's not normal behaviour" for any leader to be tweeting about people's appearances or to be bullying, lying, undermining managers and throwing people under the bus.

She said that if any business executive behaved the way Trump does, "there would be concern that perhaps the person who runs the company is out of his mind."

The reaction to Trump's tweets was swift, critical and bipartisan.

The criticism from Capitol Hill was perhaps the loudest since Trump took office. South Carolina Sen. Lindsey Graham, a Republican, tweeted: "Mr. President, your tweet was beneath the office and represents what is wrong with American politics, not the greatness of America." House Speaker Paul Ryan said, "Obviously I don't see that as an appropriate comment."

Republican Rep. Lynn Jenkins of Kansas said on Twitter: "This is not okay. As a female in politics I am often criticized for my looks. We should be working to empower women." Connecticut Sen. Chris Murphy, a Democrat, called Trump's actions "monstrous."

Republican Sen. James Lankford of Oklahoma said he had just chaired a hearing with the Capitol Police on the shooting of House GOP Whip Steve Scalise, and he said Trump's tweets "don't help our political or national discourse and do not provide a positive role model for our national dialogue."

The inflammatory tweets came as Trump was trying to resuscitate the Senate's health care bill. To do that, he'll need the support of some female Republican senators who have been withholding support, including Shelley Moore Capito of West Virginia and Susan Collins of Maine. Collins said Trump's behaviour "has to stop."

This is far from the first time that Trump has drawn criticism for comments about women.

His campaign was threatened last October after the release of a 2005 Access Hollywood video in which he was heard bragging about groping women, saying "When you're a star, they let you do it. You can do anything."

Trump also repeatedly suggested that Hillary Clinton didn't have the stamina or "look" to be president, mocked primary foe Carly Fiorina by saying "Look at that face! Would anyone vote for that?" and falsely suggested that former Miss Universe winner Alicia Machado, whom he publicly shamed for gaining weight when he owned the contest, had made a sex tape.

In 2015, he said then-Fox News Host Megyn Kelly was unfairly targeting him, saying "You could see there was blood coming out of her eyes. Blood coming out of her wherever."

Trump has fewer women in his Cabinet than any president since George H.W. Bush. Two female aides, Sanders and Grisham, were the first White House officials to defend the tweets. But some of his administration's most high-profile women -- daughter Ivanka Trump, Kellyanne Conway and Dina Powell -- did not respond to requests for comment.

Trump's relationship with the "Morning Joe" hosts has taken several twists and turns.

Scarborough was largely supportive of Trump during the campaign, and he and his co-host did, in fact, spend time at the president's Florida resort, a visit that Scarborough said was to arrange a Trump interview. But the duo, who are engaged to be married, have since turned critical of Trump.

On their Wednesday show, Brzezinski and Scarborough mocked Trump for displaying in several of his golf resorts a fake Time Magazine cover featuring himself.

"That's needy," Brzezinski said.

About 15 minutes before the president himself tweeted, White House social media director Dan Scavino similarly assailed the hosts.

Scavino wrote on his personal account.

Lemire reported from New York. Julie Bykowicz and Erica Werner contributed reporting from Washington and AP television writer David Bauder contributed from New York.