The Walt Disney Co. is cashing out of A+E Global Media, selling its 50% stake to Hearst for about $1.2 billion in cash.

Hearst has set an agreement to buy 50% of A+E Global Media from Disney in a deal that brings the company back into national media in a big way.

The two companies had been equal partners in the joint venture, going back decades.