According to the deal, Walgreens will acquire pharmacy patient prescription files and related pharmacy inventory of 185 Fred’s stores located across 10 southeastern states.

Overall, Fred’s is looking to take in about $165 million in total consideration for the deal. Also, the transaction is part of a previously announced plan by Fred’s to unlock shareholder value by monetizing non-core assets through strategic transactions.

Fred’s will continue to operate its retail stores at most of these locations after the pharmacies close. Once the transaction is complete, Fred’s will continue to operate roughly 162 pharmacies across nearly 600 stores. Fred’s pharmacy staff at the closing locations will have an opportunity to apply for any available positions at Walgreens.

The companies expect the file transfers to begin in the fourth quarter of calendar 2018 and be completed in the first quarter of calendar 2019.

Richard Ashworth, Walgreens President of Operations, commented:

This agreement increases patient access to Walgreens pharmacies in the Southeastern U.S., and allows us to introduce more people to Walgreens trusted pharmacy services in these communities. We look forward to welcoming Fred’s patients and team members who are hired into available Walgreens positions.

Shares of Fred’s were last seen up about 55% at $2.54, with a consensus analyst price target of $2.00 and a 52-week trading range of $1.30 to $7.63.

Walgreens shares were up 1% at $68.88, in a 52-week range of $59.07 to $83.89. The consensus price target is $71.05 and