UNITED NEWS INTERNATIONAL (UNI) — The U.S. Supreme Court has declined to take up a legal challenge to a Mississippi law that allows government workers and private businesses to deny services to LGBT people based on religious objections.

The court’s Jan. 8 refusal to hear the case leaves intact the law, which was passed in 2016 in the aftermath of the Supreme Court’s landmark ruling legalizing same-sex marriage nationwide.

The law allows county clerks to avoid issuing marriage licenses to gay couples and protects businesses from lawsuits if they refuse to serve LGBT customers.

The law was immediately challenge by LGBT rights groups.

However, the 5th Circuit Court of Appeals ruled that the plaintiffs could not show that they had been harmed by the law or denied service.

The court did leave open the possibility of another challenge down the road.