Several measures Pennsylvania Gov. Tom Wolf imposed earlier this year to help combat the spread of COVID-19 are unconstitutional, a federal judge has ruled.

U.S. District Judge William Stickman of the Western District of Pennsylvania has entered judgment for several counties, businesses and state officials who are challenging Wolf’s order that shut down “non-life-sustaining” businesses and placed restrictions on gatherings. According to Stickman, the orders violate the First Amendment, as well as the due process and equal protection clauses of the 14th Amendment.