Amazon is ending a charity donation program it ran for a decade in its latest cost-cutting move.

In a blog post on Wednesday, the company said the program, called AmazonSmile, will shut down by February 20. The program allowed Amazon to donate a small percentage of eligible purchases to a charity selected by shoppers. The retailer says it's shutting it down because the program had "not grown to create the impact" it had hoped during the past 10 years.

The decision also comes as the Seattle-based company is laying off workers and axing different areas of its business in an effort to trim costs.