A split U.S. Supreme Court Friday night upheld California’s limits on attendance at houses of worship during the pandemic, rejecting a First Amendment challenge by a San Diego County church.

Chief Justice John Roberts, joining the more liberal bloc of the high court, wrote that the temporary attendance caps “appear consistent” with the free exercise clause of the First Amendment.