SAN FRANCISCO (AP/CBS13) — California Gov. Gavin Newsom’s office said Saturday it will issue revised guidelines for indoor church services after the Supreme Court lifted the state’s ban on indoor worship during the coronavirus pandemic, but left in place restrictions on singing and chanting.

In the most significant legal victory against California’s COVID-19 health orders, the high court issued rulings late Friday in two cases where churches argued the restrictions violated their religious liberty. The justices said for now California can’t continue with a ban on indoor church services, but it can limit attendance to 25% of a building’s capacity and restrict singing and chanting inside.

READ MORE: Watch: Capitol Christmas Tree Lighting

“With this decision, I am grateful that the Supreme Court has recognized the effective ability of church congregations to gather safely and responsibly while abiding by reasonable public health precautions,” Bishop Jaime Soto, of the Roman Catholic Diocese of Sacramento, said in a statement after the ruling. “I express my gratitude and admiration for the clergy and parishioners who have worked diligently to provide safe and reverential occasions for worship throughout the pandemic. In returning to indoor worship, we will continue the practice of prudent public health measures: wearing face masks, washing hands frequently, and maintaining social distancing.”

Newsom had put the restrictions in place because the virus is more easily transmitted indoors and singing releases tiny droplets that can carry the disease.

The governor’s office said those measures were imposed to protect worshippers from getting infected.

“We will continue to enforce the restrictions the Supreme Court left in place and, after reviewing the decision, we will issue revised guidelines for worship services to continue to protect the lives of Californians,” the governor’s press secretary, Daniel Lopez, said in a statement.

The justices were acting on emergency requests to halt the restrictions from South Bay United Pentecostal Church in Chula Vista and Pasadena-based Harvest Rock Church and Harvest International Ministry, which has more than 160 churches across the state.

“You can go to your house of worship, as of now! You can go back to church, we’re excited about that,” Pastor Art Hodges of the South Bay United Pentecostal Church told KNSD-TV.

The church has defied state orders since last May by holding service indoors while following COVID-19 safety protocols, Hodges said. He said he was thankful to hold services on Sunday “without any pressure or threat or concern” and added that the 25% attendance limit will make him add two or three more services to accommodate church members.

READ MORE: Stockton Police Investigate Multiple Thursday Robberies

“It at least allows us some wiggle room to operate,” he said.

More from CBS Sacramento:

On Instagram, Harvest Rock’s ministry in downtown Los Angeles announced it would hold an in-person service Saturday evening.

“Bring the kiddos! We’d love to see the whole family for service tonight!” the announcement said, followed by the hashtag #inpersonservice.

Attorney Mathew Staver, who represents the church, said in a statement that he and his clients would “continue to press this case until religious freedom is totally restored.”

The court’s action follows a decision in a case from New York late last year in which the justices split 5-4 in barring the state from enforcing certain limits on attendance at churches and synagogues. Shortly after, the justices told a federal court to reexamine California’s restrictions in light of the ruling.

With few exceptions, California’s COVID-19 restrictions have been largely upheld, but a number of lawsuits seeking to allow outdoor dining are still in the courts.

MORE NEWS: Ravens-Steelers Preview: Pittsburgh 'Just Not That Dominant Team On Sunday,' Says CBS Sports' James Lofton

“California forbids any kind of indoor worship. Meanwhile, the State allows most retail operations to proceed indoors with 25% occupancy, and other businesses to operate at 50% occupancy or more,” Justice Neil Gorsuch said, and later added, “California is the only state in the country that has gone so far as to ban all indoor religious services.”