Amazon confirmed that it is closing six Whole Foods stores.

The closing locations are in Montgomery, Alabama; Mobile, Alabama; Brookline, Massachusetts; and Tarzana, California. Around the world, there are about 500 Whole Foods locations.

Whole Foods made the difficult decision to close six stores because they were not performing as well as they could have. Five of the six stores will close on May 6 and the other Chicago store will close on an undisclosed date.

Amazon acquired Whole Foods for $13.7 billion, and now it accounts for just 2.5% of the US grocery market. Since it acquired Whole Foods, Amazon has grown its own grocery brands, Amazon Go and Amazon Fresh.

In March, Amazon announced it would close its physical stores in the US and the UK. The chain told Insider at the time that it was part of a plan to focus on grocery.

The head of analytical research at Placer.ai told Insider that Amazon is at an "inflection point" in terms of brick and mortar strategy. The relationship between Whole Foods and Amazon Fresh is something that Amazon can figure out.

Whole Foods in Washington, DC added Amazon's "Just Walk Out" technology. The technology in Amazon Fresh stores allows customers to leave with their groceries, which are charged to their Amazon account, if they skip the cash register.

The changes at Whole Foods show that Amazon is still evaluating its Whole Foods strategy, as it is aligning with other stores and online business.

Do you know of a story about a retail or restaurant chain? Please email this reporter at businessinsider.com.