Investor Carl Icahn agreed to sell his stake in Lions Gate Entertainment Corp (LGF.N) and the parties ended litigation against each other, the company said on Tuesday.

Shares of Lions Gate fell 7.8 percent in after-hours trading.

Under the agreement, Carl Icahn and his son, Brett, have agreed to sell up to 44 million shares of Lions Gate at $7 per share.