Health Department officials say most restaurants came into compliance and that the pandemic has since eased.

HARRISBURG, Pa. (AP) — The Pennsylvania Department of Health has dropped its legal action against more than 40 restaurants that were accused of defying state orders to close indoor dining and maintain social-distancing protocols.

The Health Department had filed two separate complaints alleging that restaurants were violating pandemic restrictions that Gov. Tom Wolf imposed in December in response to a winter surge in COVID-19 cases, hospitalizations and deaths. The state had sought an order to shut down in-person dining, as well as damages.

READ MORE: WWE Returns To Pittsburgh This Holiday Season

Department officials said that most restaurants came into compliance and that the pandemic has since eased.

READ MORE: Free Tickets Available Thursday For Pittsburgh's Drive-In Movie Night

“The majority of restaurants have come into compliance with the Secretary of Health’s orders to protect their customers from the spread of COVID-19 within their communities,” said Health Department spokesperson Maggi Barton. She said that with the pandemic in retreat, nearly all of the state’s remaining restrictions are slated to be lifted on Memorial Day.

The Health Department petitioned Commonwealth Court last week to discontinue the matter, and the court granted the request on Tuesday.

MORE NEWS: Tractor Trailer Driver Dies After Crashing Into Utility Pole, 2 Vehicles And Mobile Home

(Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)