Wal-Mart Stores Inc (WMT.

N) will close about 1,000 stores and eliminate jobs in Canada over the next two years, the company said Wednesday, a day after the company was criticized for firing about half of its workforce.

Walmart, a $69 billion company that has expanded into the home-delivery, grocery and retail sectors, said it will close its Canadian stores in the coming weeks.

The company also said it would eliminate 1,400 jobs by 2020 in its U.S. and international operations.

In the U.K., it said it plans to eliminate 400 jobs, as well as about 3,000 in the U, by 2021.

It said that the changes would not affect the company’s plans to open more stores in Canada.

In a statement, Wal-mart said it “has made the decision to close approximately 1,100 stores and approximately 2,000 employees” over the past two years in the United States, Canada and Australia.

The stores would have been open by November 2019.

Wal-mart has been struggling to compete with Amazon.com Inc’s (AMZN.

O) Prime delivery service.

It has had to reduce prices on products and services to attract customers, but it also has faced competition from a growing number of other U.I.S.-based retailers, including Wal-marts.

The U.N. said last week that Wal-Marts had been responsible for more than half of all global deaths in the last five years.