News outlet Newsmax sued Fox on Wednesday to block its $22 billion takeover of Roku, alleging the deal hurts competition in the fast-growing market for free, ad-supported television.

The complaint, filed in the U.S. District Court for the Northern District of California, asks the judge to halt Fox's integration of Roku and unwind the deal unless Fox sells either Tubi or The Roku Channel.

Fox announced on November 6 that it had completed the acquisition, earlier than the companies had publicly projected after months of regulatory scrutiny, according to the lawsuit. Newsmax said the combination of Fox with Roku would give the company more than a 70% share of the free ad-supported streaming TV market.

Newsmax, which operates Newsmax TV and the Newsmax2 streaming channel, said it relies on The Roku Channel for distribution and that Fox had previously refused to carry Newsmax on Tubi.

Newsmax also said Fox's pledges to the Justice Department, including not to discriminate against non-Fox content in search results, are unenforceable because they were not set out in a consent decree or court order.

Roku and Fox did not immediately respond to Reuters' requests for comment.