BRUSSELS (AP) — European Union authorities say they have cleared Disney’s acquisition of Fox’s entertainment assets, provided Disney sells off some TV channels it controls in Europe to maintain competition.

The EU’s executive Commission said Tuesday it gave its approval to the deal.

Disney’s $71.3 billion deal to buy the 21st Century Fox assets, which include Marvel’s X-Men and Avengers franchises, is part of its plan to compete with tech companies such as Netflix and Amazon as the entertainment industry moves into the digital streaming era.

Disney shareholders and U.S. regulators had already approved the Fox bid.

The European Commission said Disney agreed to sell off all factual TV channels it controls in Europe to address concerns the combined company would have eliminated competition between two big wholesale suppliers.