On Monday, Yahoo! Inc.s years-long fight to survive as a standalone company will draw to a close.

Verizon Communications Inc. announced today plans to buy Yahoos core assets for a bit more than $4.8 billion before the market opens, said two beings with direct knowledge of the situation who expected not to be identified because the information isnt public. The deal includes Yahoo real estate assets, although some intellectual property is to be sold separately, the people said. Yahoo will be left with its posts in Alibaba Group Holding Ltd. and Yahoo Japan Corp ., with a combined market value of about $40 billion.

A transaction stands to finally close the fate of web pioneer Yahoo after months of supposition and pressing from investors including Starboard Value LP. The deal will contribute the company and its billions of daily consumers to Verizons ripening stable of media owneds and is also likely to end the predominate of Yahoo Chief Executive Officer Marissa Mayer, who tried and failed to re-invent Yahoo as an independent company.

Verizon spokesman Bob Varettoni and Yahoo spokeswoman Rebecca Neufeld declined to comment. Yahoo hasnt laid out plans for its investments in Alibaba and Yahoo Japan.

Strategy Shift

With its core wireless business mature, Verizon is expected to keep Yahoo mostly intact to compete with Alphabet Inc.s Google and Facebook Inc. in digital ads by tapping into users on locates like Yahoo Finance. The takeover will double the size of Verizons digital ad, situating it as a remote third behind Google and Facebook in the $187 billion market.

The deal speaks to a clearly defined programme switching at Verizon, Craig Moffett, an psychoanalyst with MoffettNathanson, said Sunday. They are trying to monetize wireless in an entirely new way. Instead of accusing purchasers for transaction, the objective is turning to accusing advertisers for eyeballs.

Yahoo gained 1.4 percent to close at $39.38 on Friday after Bloomberg News reported “its been” closing in on a deal with Verizon. Shares of Verizon advanced 1.3 percent to $56.10.

AT& T Inc. and Quicken Loans Inc. founder Dan Gilbert, as well as houses Vector Capital Management and TPG, were also active in entreat for Yahoo.

The deal comes about two years after Starboard began campaigning for changes at Yahoo. In September 2014, it pushed Mayer, who was a little over two years into leading a turnaround, to mix with AOL Inc. She didnt oblige. In February, facing continued pressing, the company said it was considering a sale.

In some spaces, a takeover of Yahoo by Verizon would finally generate Starboard what it missed because the telecom whale acquired AOL last year. Back then, Starboard witnessed combining the two flailing Web entrances as a way to cut$ 1 billion in overheads. AOLs advertising engineering, which has improved under CEO Tim Armstrong, can now better leverage Yahoos reasonably strong material for mobile devices, Moffett said.

Verizon is hoping that combining Yahoos content with AOLs ad technology platform and Verizons own penetrations into user data can acquire the advertising inventory much more valuable, he said.

The activist crusade may also cost Mayer her position. Her arrival was met with great fanfare when she was lured away from Google in 2012. While she made progress on some produces such as Yahoos e-mail and media, overall sales raise remained sluggish.

A failed try to spin off the companys Alibaba post , now worth about $32 billion, pained Mayers sitting with investors. The program was scuttled to avoid a potentially large tariff burden.

Read more: www.bloomberg.com