Apple won an appeals court ruling upholding its App Store’s policies in an antitrust challenge brought by Epic Games.

Monday’s ruling by the U.S. Ninth Circuit Court of Appeals affirmed a lower court judge’s 2021 decision largely rejecting claims by Epic, the maker of Fortnite, that Apple’s online marketplace policies violated federal law because they ban third-party app marketplaces on its operating system. The appeals panel upheld the judge’s ruling in Epic’s favor on California state law claims.

The ruling comes as Apple has been making changes to the way the App Store operates to address developer concerns since Epic sued the company in 2020. The dispute began after Apple expelled the Fortnite game from the App Store because Epic created a workaround to paying a 30% fee on customers’ in-app purchases.