US House of Representatives has passed a bill to condemn US President Donald Trump for his Xenophobic attack on four minority Democratic congresswomen on Tuesday.

Top Republican leaders rallied around Trump, but four members of the president’s party voted with the 235 Democrats to condemn him for racist remarks that have legitimized and increased fear and hatred of new Americans and people of color.

The bill, titled “Condemning President Trump’s racist comments directed at members of Congress,” was a reaction to a string of Trump’s tweets that had told four congresswomen of colour to “go back” to the “places from which they came”, according to reports.

The targeted Congresswomen were Alexandria Ocasio-Cortez of New York, Ilhan Omar of Minnesota, Rashida Tlaib of Michigan and Ayanna Pressley of Massachusetts. While Omar was born in Somalia and later moved to Minnesota, the other three were born in the US.

President Trump had tweeted on Sunday, “Why don’t they go back and help fix the totally broken and crime-infested places from which they came”.

During a press briefing outside the White House on Monday, Trump said, “If you are not happy here, you can leave”.

Early on Tuesday, US President Donald Trump tweeted that “I don’t have a racist bone in my body”, while defending his widely criticized suggestions that four non-white Democratic Congresswomen should “leave” the country because they “hate it”.

He also lashed out at those who criticized his series of tweets as “racist”, saying that it “doesn’t concern me because many people agree with me”.

Although Trump did not name anyone in his tweets, he had last week referred to Ocasio-Cortez, the New York Representative, when he was defending Nancy Pelosi.

Democrats candidates for Presidential nominations, including Bernie Sanders, had0 also condemned the tweet episode and called Donald Trump a “racist”.

According to the Pew Research Center, there are currently 52 voting members in the House and 16 members in the Senate who are immigrants or children of immigrants.