ByteDance said on Monday its video games unit Nuverse has agreed to acquire Shanghai-based gaming studio Moonton Technology, as it seeks to further expand into the video games business.

The deal values the gaming studio at around $4 billion, two sources told Reuters.

The acquisition of the video games studio come as ByteDance, the owner of TikTok and the similar Chinese short video platform Douyin, has made sizeable inroads into the video games business, putting it in direct competition with China’s Tencent.

“Through cross-team collaboration and drawing on lessons and insights from its own rapid growth, Moonton provides the strategic support needed to accelerate Nuverse’s global gaming offerings,” ByteDance said in a statement, declining to comment on the size of the acquisition.

In an internal memo, Yuan Jing, CEO of Moonton, said the company would operate independently from ByteDance after the acquisition, a source told Reuters on condition of anonymity as he is not authorized to speak to the press.

Moonton Technology, founded by an ex-Tencent employee, is most famous in Southeast Asia for its multiplayer online battle arena (MOBA) game Mobile Legends.

Tencent, China’s biggest video games and social media company, made a bidding for Moonton but the offer was matched by ByteDance last week, two sources familiar with the situation told Reuters.