The U.S. Supreme Court voted 5-4 on Monday to uphold a federal appellate court ruling against a man who sought to prevent his deportation after being in the United States illegally since the 1990s.

Pankajkumar Patel, who entered the U.S. illegally from India with his wife Jyotsnaben three decades ago, according to court documents, applied for discretionary adjustment of status with the U.S. Citizenship and Immigration Services (USCIS) agency in 2007.

The adjustment, which would have given Patel and his wife green cards, was denied by the agency after it found he previously intentionally misrepresented his citizenship on a Georgia driver’s license application.

Years later, the Department of Homeland Security (DHS) endeavored to deport Patel and his wife, prompting him to apply for an adjustment again. He argued before a federal immigration judge that he mistakenly ticked "citizen" off on the Georgia driver’s license application, but the judge ordered him removed anyway.

DHS SECRETARY MAYORKAS VISITS US-MEXICO BORDER AS END OF TITLE 42 LOOMS

Protesters hold up signs during an abortion rights demonstration, Saturday, May 14, 2022, in New York. (AP Photo/Jeenah Moon)

Protesters hold up signs during an abortion rights demonstration, Saturday, May 14, 2022, in New York. (AP Photo/Jeenah Moon) (AP Photo/Jeenah Moon)

The Board of Immigration Appeals dismissed his case upon appeal, which led Patel to seek review from the Eleventh Circuit Court of Appeals, which ruled it did not have jurisdiction in the case.

VIRGINIA DEMOCRAT SAYS PROTESTS OUTSIDE OF JUSTICES' HOMES ‘WILL ALMOST CERTAINLY HAVE THE OPPOSITE EFFECT’

After he petitioned them last January, the Supreme Court heard oral arguments in December until agreeing with the lower court Monday.

Justice Amy Coney Barrett wrote the majority opinion, arguing, "Federal courts have a very limited role to play in this pro­cess. With an exception for legal and constitutional ques­tions, Congress has barred judicial review of the Attorney General’s decisions denying discretionary relief from re­moval."

CLARENCE THOMAS RIPS MEDIA: I'LL LEAVE MY JOB WHEN I DO IT AS POORLY AS YOU DO YOURS

U.S. Supreme Court Associate Justice Amy Coney Barrett

U.S. Supreme Court Associate Justice Amy Coney Barrett speaks at the Ronald Reagan Presidential Library Foundation in Simi Valley, California, on Monday, April 4, 2022. (AP)

Justice Neil Gorsuch joined the three liberal-leaning justices in dissent, writing, "As a result, no court may correct even the agency’s most egregious factual mistakes about an individual’s statutory eligibility for relief."

"It is a bold claim promising dire consequences for countless lawful immigrants," Gorsuch also warned.