The COVID-19 outbreak that has shut down most of Shanghai appears to be waning, with the number of new cases falling below 10,000 a day over the weekend.

China’s largest city recorded about 7,000 cases a day on Saturday and Sunday, down from a peak of 27,605 nearly three weeks ago on April 13. Shanghai reported 32 deaths, raising the death toll to 454. Most of the victims have been elderly and many were unvaccinated.

Shanghai has recorded about 400,000 cases in China’s largest outbreak since the start of the pandemic.

Authorities have begun a limited easing of a citywide lockdown that has disrupted the lives of millions of residents and dealt at least a temporary blow to China’s economy. Many have been confined to their apartments for three weeks or more. They reported difficulty ordering food deliveries in the early days of the lockdown and higher prices for what they could get.

Even as many other countries relax pandemic restrictions, the Chinese government has stuck to a “zero-COVID” approach that restricts travel, mass tests entire cities, and sets up sprawling temporary facilities to try to isolate every infected person. Lockdowns start with buildings and neighborhoods but become citywide if the virus is spreading widely.