Walt Disney has said it will take full control of the Hulu service in a deal with Comcast that removes an obstacle in the “Mouse House’s” quest to take on rivals including Netflix in the global streaming content war.

The agreement, which ascribes a minimum equity value of Hulu at $27.5bn, allows either company to trigger a sale or purchase of Comcast’s 33% stake to Disney as early as January 2024. Comcast has also agreed to fund Hulu’s recent buyout of AT&T’s 9.5% interest in the company.

By establishing an expiration date of five years from now, Comcast is betting the value of its stake will appreciate significantly as Disney prepares unencumbered to expand the scope and reach of Hulu in the domestic and international markets to battle the likes of Netflix, Amazon and Apple.

“It is important for Disney to have full control of the direction and content on Hulu,” said Trip Miller, managing partner of Memphis-based hedge fund Gullane Capital Partners, whose funds include Disney shares. “Postponing the closing five years [later] allows Disney to not take on more debt after just closing [its purchase of] Fox, while giving Comcast an option to the upside if/when the Hulu valuation grows during this time.”

Disney is preparing to launch its own streaming service called Disney+ on November 12. At a Tuesday morning investor conference, Disney CEO Bob Iger said the service will launch in India.

Comcast, which is also preparing to launch an NBCUniversal advertising-supported streaming service by the middle of next year, said it will extend its licensing agreement to provide NBCUniversal shows and its live channels until late 2024 and agree to distribute Hulu on Comcast’s cable platform. NBCUniversal will have the option to offer some of the shows it currently licenses exclusively to Hulu in one year’s time.

Shares of Disney were up 1.5% at $133.19 in late morning trading on the New York Stock Exchange. Comcast shares were up 1.8% at $43.05 on the Nasdaq.

Last month, Hulu said it had bought back telecoms and media company AT&T’s stake in the US entertainment streaming service for $1.43bn, in a deal that valued Hulu at $15bn.

Hulu, which competes with Netflix and Amazon’s Prime Video, has more than 26.8-million paid subscribers.