A Chinese court has fined Apple 1 million yuan ($160,400) for hosting third-party applications on its App Store that were selling pirated electronic books, the official Xinhua news agency reported on Friday.

According to the ruling, Apple is to pay compensation to eight Chinese writers and two companies for violating their copyrights, Xinhua said.

Earlier in the year, a group of Chinese authors filed the suit against Apple, saying an unidentified number of apps on its App Store sold unlicensed copies of their books. The group of eight authors was seeking 10 million yuan in damages.

Earlier this year, Applepaid 60 million yuan to a Chinese firm, Proview Technology, to settle a long-running lawsuit over the iPad trademark in China.