It’s a good time to be the Walt Disney Company.

On Wednesday, the company released its first earnings report since wrapping up its $71.3 billion deal to buy much of 21st Century Fox’s film and television assets, a pact that has upended the balance of power in Hollywood in Disney’s favor. It was a boffo quarter for the media giant behind Pixar, ESPN and Marvel, one that saw Disney handily beating expectations as it logged revenues of $14.9 billion on earnings per share of $1.61.

Wall Street analysts projected that the company would post quarterly earnings of $1.58 a share on sales of $14.5 billion. The robust earnings picture goosed Disney’s stock in after-hours trading, sending it above $136 a share. Quarterly revenues were up 3% and earnings per share increased 13%.

The company attributed the stronger-than-expected results to higher affiliate revenues from ESPN, as well as the popularity of its domestic resorts, Walt Disney World and Walt Disney Land. That helped offset declines in its broadcasting division, where lower viewership at ABC took a bite out of ad sales. It also cushioned the drop in its film business. Disney fielded a massive blockbuster in the $1.2 billion-grossing “Captain Marvel,” but even that windfall couldn’t match the combined success of “Black Panther” and “Star Wars: The Last Jedi,” which did a massive amount of their business in the prior-year quarter.

It’s a time of enormous change at the entertainment conglomerate. Not only is it absorbing Fox into its global operations, it is also preparing to launch Disney Plus, a new streaming service that will undercut Netflix with its $6.99 monthly pricing.

“These are ambitious plans,” Disney CEO Bob Iger told analysts on an earnings call after the results were unveiled. He said he began to talk to 21st Century Fox chief Rupert Murdoch about acquiring large parts of his empire after Disney unveiled plans to launch a Netflix rival. He ultimately determined that Fox, boasting franchises that include everything from “Avatar” to “The Simpsons,” could help in that effort.

“We get some strong brands … but we also have brands we can even strengthen by fueling them with more resources,” Iger said.

It wasn’t all good news for Disney. The company revealed it has written down $353 million on its ownership stake in Vice, a company that attracted a great deal of buzz over its purported appeal to millennials. However, advertising at Vice have slowed down, making that investment less attractive.

Disney’s stock has been on a tear in recent weeks, rising more than 20% as its market capitalization has topped $240 billion. The Fox acquisition is expected to result in thousands of job losses, but so far staffing cuts have been enacted at a slower pace than anticipated. After assuming control of Fox, Disney did lay off many senior staffers on the film side, but the layoffs haven’t been as deep as expected. On the call with analysts, Disney said it has identified $2 billion in cost synergies.

At the same time that Disney was unveiling its financial results, Fox Corp., the Murdoch family’s remaining assets after selling much of their entertainment brands, unveiled their quarterly earnings. The new company, which includes Fox Broadcasting and Fox News, earned $529 million in net income and earnings-per-share of 76 cents.