Alcoa ( AA) said it will sell its packaging and consumer businesses by next year.

The New York-based smelter, which earlier this year was rebuffed in an unsolicited bid to acquire rival Alcan ( AA), said it is also near a definitive agreement to sell its automotive castings business and should close that transaction by the end of the year.

Alcoa said it expects to take $845 million in restructuring charges to cover costs tied to the transactions.

Alcoa has sold or closed a number of businesses this year as activist investors pressure the company to slim down and improve shareholder returns.

Shares rose 39 cents to $38.05.

More from Stocks

Quick Read: 3 Things for Investors to Know Before Wednesday's Trading Session

Quick Read: 3 Things for Investors to Know Before Wednesday's Trading Session

Replay: Jim Cramer on the Markets, Oil, General Electric, Zillow and Micron

Replay: Jim Cramer on the Markets, Oil, General Electric, Zillow and Micron

Pegasystems Founder Explains Why He Has One of the Hottest Tech Stocks Around

Pegasystems Founder Explains Why He Has One of the Hottest Tech Stocks Around

Micron Shares Soar; Chipmaker Is 'Managing for Profitability' Now, Says Analyst

Micron Shares Soar; Chipmaker Is 'Managing for Profitability' Now, Says Analyst

Dow Slips 178 Points; S&P 500 and Nasdaq Also Decline

Dow Slips 178 Points; S&P 500 and Nasdaq Also Decline