NEW YORK (CBSNewYork) — A federal judge has refused to block an order from Gov. Andrew Cuomo strictly limiting the number of people in houses of worship in communities with surging coronavirus cases.

The judge made his decision in a suit brought by the Roman Catholic Diocese of Brooklyn.

READ MORE: New York Weather: CBS2’s 1/19 Wednesday Morning Forecast

MORE: Diocese Of Brooklyn Takes Gov. Cuomo To Court Over Second Coronavirus Shutdown Order

He said while the restrictions hurt religious groups, it’s not in the public interest to block them if they’re helping prevent a wave of new infections.

READ MORE: Islanders Win In Shootout, Hand Flyers 9th Straight Loss

Bishop Nicholas DiMarzio responded in a statement that read in part, “The Diocese of Brooklyn is extremely disappointed by today’s ruling, as we believe we presented a strong case in support of our right to worship. It is a shame our parishioners in the red zones cannot return to Mass when the judge acknowledged we have done everything right. We are now considering our appellate options.”

The ruling doesn’t end the Diocese’s lawsuit, but it denies the church’s request for a temporary injunction.

MORE FROM CBS NEW YORK:

MORE NEWS: Towns' Three-Point Play Helps Wolves Edge Knicks

You can get the latest news, sports and weather on our brand new CBS New York app. Download here.