Nearly half of voters say criticizing America is unpatriotic, according to a new Hill-HarrisX poll released on Monday.

The survey found that 47 percent of Americans believe that speaking out against the U.S. is unpatriotic, while 29 percent said that such criticism is a way of showing patriotism. About a quarter — 24 percent — said they weren’t sure.

The question divided respondents along party lines.

More than half of Republican and Republican-leaning voters — 64 percent — said criticizing America is unpatriotic, compared to 40 percent each for Democrats and Independents.

Younger respondents were more likely to say that U.S. criticism is instead a patriotic act.

Thirty-seven percent of those 18 to 34 see criticism of America as a form of patriotism.

The Hill-HarrisX survey was conducted online from July 20-21 among 1,003 registered voters. It has a margin of error of plus or minus 3.1 percentage points.

The poll comes amid President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE’s ongoing feud with four freshmen Democratic lawmakers, commonly referred to as “the Squad," whom he has accused of hating America.

Trump on Monday renewed his attacks on the progressive women of color, calling them a “very Racist group of troublemakers.”

“The ‘Squad’ is a very Racist group of troublemakers who are young, inexperienced, and not very smart,” Trump tweeted Monday in reference to Democratic Reps. Alexandria Ocasio-Cortez Alexandria Ocasio-CortezOn The Money: Anxious Democrats push for vote on COVID-19 aid | Pelosi, Mnuchin ready to restart talks | Weekly jobless claims increase | Senate treads close to shutdown deadline McCarthy says there will be a peaceful transition if Biden wins Anxious Democrats amp up pressure for vote on COVID-19 aid MORE (N.Y.), Ilhan Omar Ilhan OmarOmar fires back at Trump over rally remarks: 'This is my country' Trump attacks Omar for criticizing US: 'How did you do where you came from?' Democrats scramble on COVID-19 relief amid division, Trump surprise MORE (Minn.), Rashida Tlaib Rashida Harbi TlaibTrump attacks Omar for criticizing US: 'How did you do where you came from?' George Conway: 'Trump is like a practical joke that got out of hand' Pelosi endorses Kennedy in Massachusetts Senate primary challenge MORE (Mich.) and Ayanna Pressley Ayanna PressleyFauci, Black Lives Matter founders included on Time's 100 Most Influential People list Trump attacks Omar for criticizing US: 'How did you do where you came from?' Pressley applauded on House floor after moving speech on living with alopecia MORE (Mass.).

In their pushback against the president, the Squad has pointed out that his 2016 campaign was rife with criticism of American government and society.

Trump faced backlash last week after he tweeted that the four lawmakers should go back to their home countries, even though they are all U.S. citizens and all but one was born in the U.S. He also came under fire when a crowd at one of his rallies chanted “send her back” in reference to Omar, a former Somali refugee.

The president initially sought to distance himself from the chants, but he later praised the supporters.

Though Trump has been called a racist by those on both sides of the aisle, he doesn’t appear to be backing down anytime soon. He claimed over the weekend that the four lawmakers should apologize — not him.

“I don’t believe the four Congresswomen are capable of loving our Country. They should apologize to America (and Israel) for the horrible (hateful) things they have said. They are destroying the Democrat Party, but are weak & insecure people who can never destroy our great Nation!” he tweeted.

—Tess Bonn