Updated

The U.S. Supreme Court on Wednesday night blocked New York Gov. Andrew Cuomo from reimposing strict attendance caps at worship services in areas hit hard by the novel coronavirus

The court ruled 5-4 to bar Cuomo from enforcing his Oct. 6 “Cluster Initiative” against houses of worship that sued to challenge the restrictions. 

The order was also the first in which Justice Amy Coney Barrett played a decisive role. Barrett, who was President Trump's third Supreme Court nominee, joined the court Oct. 27, after winning Senate confirmation following the Sept. 18 death of Justice Ruth Bader Ginsburg.

Then-Supreme Court nominee Amy Coney Barrett is seen Oct. 21, 2020, on Capitol Hill in Washington. (Associated Press)

Meanwhile, Chief Justice John Roberts joined the court’s liberal wing in the dissenting opinion, which stated the court had acted rashly.

Cuomo's initiative had created color-coded limits on mass gatherings and business operations, in an effort to stem the outbreak in New York City areas that were experiencing a surge in cases, according to Bloomberg News.  

ORTHODOX JEWISH GROUP IGNORES CUOMO'S ORDERS ON GATHERINGS

New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City.  (Getty Images)

It was aimed at worship services at some synagogues and Roman Catholic churches in parts of Brooklyn and Queens, Bloomberg reported.

In the hardest-hit areas, which were designated red zones, the state limited attendance in houses of worship to 25% of their capacity or 10 people, whichever is fewer. The majority said his limits violated the First Amendment’s protection of the free exercise of religion.

Justice Neil Gorsuch, in the concurring opinion, said Cuomo had treated religious activities less favorably than nonreligious ones, according to the New York Times. 

“It is time — past time — to make plain that, while the pandemic poses many grave challenges, there is no world in which the Constitution tolerates color-coded executive edicts that reopen liquor stores and bike shops but shutter churches, synagogues, and mosques,” wrote Gorsuch, who was also named to the court by Trump.

U.S. Supreme Court Justice Neil Gorsuch. (Reuters)

"So, at least according to the Governor, it may be unsafe to go to church, but it is always fine to pick up another bottle of wine, shop for a new bike, or spend the afternoon exploring your distal points and meridians," he continued, according to a tweet from The Economist correspondent Steven Mazie. "Who knew public health would so perfectly align with secular convenience?"

NEW YORK DINERS HAVE THESE SHARP WORDS FOR CUOMO'S COVID RESTRICTIONS

The ruling was seen as a reversal from earlier actions taken during the pandemic this year by the high court in response to state restrictions on organized religion, reports said. The justices previously refused to lift restrictions on churches in California and Nevada.

In the dissenting opinion, Roberts explained why the court's liberals opposed the decision.

“Numerical capacity limits of 10 and 25 people, depending on the applicable zone, do seem unduly restrictive,” Roberts wrote, according to the Times. “It is not necessary, however, for us to rule on that serious and difficult question at this time.”

CLICK HERE TO GET THE FOX NEWS APP

“The governor might reinstate the restrictions,” he continued. “But he also might not. And it is a significant matter to override determinations made by public health officials concerning what is necessary for public safety in the midst of a deadly pandemic. If the governor does reinstate the numerical restrictions the applicants can return to this court, and we could act quickly on their renewed applications.”

"HAPPY THANKSGIVING," Trump wrote, sharing the Supreme Court's ruling. Trump has repeatedly pushed back against shutdown measures to curb the spread of the virus. 

The American Civil Liberties Union condemned the decision and warned it could "undermine New York's efforts to curb the pandemic."

“The freedom to worship is one of our most cherished fundamental rights, but it does not include a license to harm others or endanger public health," said Daniel Mach, director of the ACLU Program of Freedom of Religion and Belief.

New York City, once the global epicenter of the virus, has reported a steady rise in COVID-19 infections in recent weeks, prompting Mayor Bill de Blasio to close public schools for the second time.

The city has reported more than 305,000 cases and 24,230 deaths related to COVID-19.

“New York’s temporary restrictions on indoor gatherings do not discriminate against houses of worship, and, in fact, treat them better than comparable non-religious gatherings," said Donna Lieberman, executive director of the New York Civil Liberties Union. "The Supreme Court's decision will unfortunately undermine New York’s efforts to curb the pandemic.”