Out-of-work Pennsylvanians who drive for a ride-hailing service in their spare time are not automatically ineligible for unemployment benefits, a Pennsylvania appellate court has ruled.

An en banc panel of the Commonwealth Court ruled 7-1 Wednesday that a former behavioral health specialist should be entitled to unemployment benefits, despite earning money as a driver for Uber after he lost his job. The decision reversed a holding from the Unemployment Compensation Board of Review.