Rep. Ilhan Omar’s attempt to jab President Donald Trump over an immigration policy backfired as her own dirty laundry was exposed.

The Minnesota Democrat was slammed on social media after she tweeted her reaction to a Supreme Court decision in favor of the Trump administration’s new immigrant wealth test.

Omar quoted from Emma Lazarus’s famous poem etched on the Statue of Liberty in her tweet Monday, asking her nearly two million followers to retweet “if your immigrant ancestors wouldn’t be let in if this means tested immigration policy was in place then.”

“Give me your tired, your poor,

Your huddled masses yearning to breathe free” Retweet if your immigrant ancestors wouldn’t be let in if this means tested immigration policy was in place then. https://t.co/tfUQK0kphz — Ilhan Omar (@IlhanMN) January 27, 2020

The Supreme Court ruled in a 5-4 vote on Monday on the public charge rule, handing Trump a victory in enforcing the new immigration policy unveiled last August which allows officials to reject efforts to obtain green cards, visas and entry into the U.S. for anyone who might need to rely on public benefits, such as Medicaid and food stamps.

The high court’s ruling also prompted a rebuke from Omar’s fellow “Squad” member, Rep. Alexandria Ocasio-Cortez.

This is shameful. America shouldn’t have a wealth test for admission. It’s a place where millions of people are descendants of immigrants who came w nothing & made a life. The American Dream isn’t a private club with a cover charge – it’s the possibility of remaking your future. https://t.co/qKm7BuUhXI — Alexandria Ocasio-Cortez (@AOC) January 27, 2020

Omar’s finger-pointing backfired as Twitter users pointed out that when their “immigrant ancestors” did come to America, there were no welfare programs to subsidize their assimilation.

When my ancestors arrived, government welfare was not a choice. They came over and worked to build a nice life with blood, sweat, and tears. Immigrants should not come here expecting hard working Americans to support them. — book_nerd (@merelypresent) January 27, 2020

When my grandparents arrived, there was no such thing as food stamps, Medicaid, section 8 housing, free school meals, so they decided to work. Crazy way to run a country, wasn’t it? Then their son went back 3 years later to fight the Nazis. — Death’s Guinea Pig 4.0 (@Bernie_Gilbert) January 27, 2020

RETWEET IF YOUR ANCESTORS CAME TO AMERICA SEEKING COVERED WAGON SUBSIDIES. — Federalist Musket?? (@Patriot_Musket) January 28, 2020

Many called out Omar’s clueless take and the fact that the words she quoted were from a poem and are not U.S. policy.

Because you’re new here, I’ll bring you up to date. We didn’t alway let everybody and their brother in. We regulated the numbers that came and closed entry until the previous wave was fully assimilated. That’s how we were successful with LEGAL immigration. — Dave Somethinorother (@Dehneh1) January 28, 2020

You’re like in your own bubble…really out there. It’s weird. — Special Cow (@KickedCancer3xs) January 27, 2020

Mine would because they followed the rules not words on a statue the french gave us https://t.co/gEFpq1Xw3g — Comfortably Smug (@ComfortablySmug) January 27, 2020

Yeah that’s a poem, not a law. You’re either ignorant or intentionally misleading people, either way you shouldn’t be an elected official. — Jamie (@jamie2181) January 27, 2020

But the most scathing responses to Omar’s tweet targeted the progressive lawmaker for her own recent controversies, including recent reports that she is under a FBI investigation into claims that she married her own brother.

You know, if I were you with the FBI breathing down my neck. I would probably want to keep all my stupid comments to myself… J/S — Space Woman Spiff ??‍? (@BellaPelosi) January 28, 2020

Omar is banking on Democratic supporters to ignore her congressional controversies and “send her back to Congress” as she launched her re-election bid last week. The 37-year-old Somali refugee, who fled to the U.S. with her family when she was young, has had a rocky tenure representing Minnesota’s 5th congressional district since last year, coming under fire on several occasions for her controversial remarks and anti-Israel views and campaign finance violations.

Social media users responding to Omar’s tweet about Trump’s immigration policy flooded Twitter with their ancestor stories and reminded the congresswoman to look in the mirror.

Not everyone is willing to marry their brother. https://t.co/vHxAhzQN3T — Dan ?? (@danieltobin) January 28, 2020

~ Stop with the BS, I am an Immigrant and I came here legally, and I Didn’t expect Anyone else to pay for me to make a living! — Ani (@EgryAni) January 28, 2020

Retweet if you think Ilhan Omar committed immigration fraud — The Dank Knight ? (@capeandcowell) January 27, 2020

I am just gonna put this out there that someone currently being investigated for immigration fraud potentially marrying her brother probably shouldn’t be playing mouth piece on this one. — ???????? ?????? – ?? (@Renegade_Sailor) January 27, 2020

They came without any promise of welfare or food stamps or free healthcare. Only the promise of living freely in the greatest nation on earth pic.twitter.com/O0tTsIJa3q — Legal Immigrant – Revered like Elvis (@1776Legal) January 28, 2020