LOS ANGELES — Comcast has beaten 21st Century Fox in the high-stakes auction of European pay-TV giant Sky, coming out on top Saturday with a bid of $39 billion. The victory paves the way for the U.S. cable giant to put a leading offer to Sky shareholders and, if it's accepted, to bolster significantly its international operations at a time of mega-consolidation in the industry and of rising global powerhouses such as Netflix.

Comcast, which owns the parent company of NBC News, NBCUniversal, bid $22.59 per Sky ordinary share versus Fox's $20.49 offer, which valued Sky at $32 billion.

"This is a great day for Comcast. Sky is a wonderful company with a great platform, tremendous brand, and accomplished management team," Comcast Chairman and CEO Brian L. Roberts said on Saturday. "We couldn't be more excited by the opportunities in front of us."

Comcast outbid Fox in a quick-fire shootout overseen by the U.K. Takeover Panel, which had ordered the unusual auction to end the prolonged stalemate between the two rival suitors. Both offers will be put to shareholders, who have until Oct. 11 to vote on them.

The auction's outcome is sweet revenge for Comcast and CEO Brian Roberts, who were beaten by Disney in the tussle earlier this year for Fox's entertainment assets, including Fox's 39 percent stake in Sky. Roberts has called a Sky a "great business" that would complement his own media conglomerate, which already owns NBCUniversal and British production companies Working Title and Carnival Films ("Downton Abbey"). More important, adding Sky to Comcast's stable will, at a stroke, boost international revenue from 9 percent to 25 percent of Comcast's overall takings.

In Sky, Comcast would net a cutting-edge pay-TV service that boasts 23 million paying subscribers across Europe, in Britain, Ireland, Germany, Austria, and Italy. Under CEO Jeremy Darroch, Sky has maintained its offering of premium soccer, and other sports; moved into producing original content for TV ("Riviera," "Britannia") and film; and developed state-of-the-art digital and technology products, such as SkyQ and the Now TV streaming service.

Absorbing Sky would turn Comcast into a European channels heavyweight, grouping Sky's entertainment and sports channels, including Sky Atlantic (which has output deals with HBO and Showtime), with NBCUniversal International Networks' brands, such as Universal, E! and Syfy. Sky also operates content sales businesses that would join NBCUniversal's own London-based content sales business, which boasts a library of more than 4,000 movies and 100,000 episodes of television.

Comcast was a late entrant into the fray for Sky, which Fox and Rupert Murdoch have been trying to buy for years. With Fox's pursuit mired in regulatory scrutiny and political opposition, Comcast mounted a surprise bid last February with a $31 billion offer, a 16 percent premium on Fox's existing offer.

"We think Sky is an outstanding company," Roberts said at the time, calling the pay-TV company "a consistent innovator in its use of technology to deliver a fantastic viewing experience," with a "proud record of investment in news and programming" and a "very strong and capable management team."

Going into the auction after having already upped its original offer, Comcast still had the richer bid on the table, which Sky's board had recommended to its shareholders, at $19.28 per share, versus Fox's $18.30. But only a fraction of Sky's shareholders voted to go with either offer, with the vast majority preferring instead to wait for even higher bids to come through as the takeover process played itself out.

According to the auction rules set by the Takeover Panel, Fox, as the party with the lower outstanding bid, was the first to submit a sweetened offer. Comcast had a right to counter, with both suitors then given the opportunity in a third and decisive round to make a final, take-it-or-leave-it offer. In stark contrast to the normal bidding process, which has stretched out over months, Saturday's showdown unfolded within a day.

Though NBCUniversal occupies a large office space in Central London, Comcast has pledged to keep Sky's sprawling campus in Osterley, on the western edge of the city.