Yahoo reported better-than-expected quarterly adjusted profit and revenue, and said it expected the sale of its core internet business to Verizon Communications to complete in the second quarter from the first.
The company’s shares (yhoo) were up 1.2% at $42.90 in heavy after-market trading on Monday.
The fate of the deal was thrown into doubt after Yahoo disclosed two major data breaches last year.
The internet pioneer said in December it had uncovered a massive cyber attack in 2013 affecting more than 1 billion user accounts, double the number compromised in a 2014 breach that Yahoo disclosed in September.
The company said on Monday it was working with Verizon (vz) on the sale, but given the work required to meet closing conditions, the deal will now close in the second quarter.
Revenue from Mavens – the mobile, video, native, and social advertising units that Chief Executive Marissa Mayer touts as its emerging businesses – rose 25% to $590 million.
Gross search revenue fell 6% to $821 million as Yahoo struggles to win back market share from bigger rivals such as Alphabet’s Google (googl).
The Verizon deal would transform Yahoo into a holding company called Altaba, whose primary assets would include its 15% stake in Chinese e-commerce company Alibaba Group Holding (baba) and a 35.5% interest in Yahoo Japan (yahoy).
Net income attributable to Yahoo was $162 million, or 17 cents per share in the fourth quarter ended Dec. 31, compared with a loss of $4.43 billion, or $4.70 per share, a year earlier.
The year-ago quarter included a $4.46 billion write-down to account for the lower value of some units.
Yahoo’s revenue rose 15.4% to $1.47 billion, above analysts’ average estimate of $1.38 billion, according to Thomson Reuters.
Excluding items, the company earned 25 cents per share, beating the average estimate of 21 cents.
The Securities and Exchange Commission has opened a probe into whether Yahoo’s data breaches should have been disclosed sooner to investors, the Wall Street Journal reported on Monday.
The company has said it would not hold a conference call or webcast after the release of the results, citing the pending deal. This is the second straight quarter that Yahoo is not holding a post-earnings call.
Verizon is reporting fourth-quarter results on Tuesday before markets open.