This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

CHICAGO — Cook County’s unpopular sweetened beverage tax didn’t last long, but a new study says while it was in effect, it worked.

The 2017 tax was created in part to lower the amount of sugary drinks people consume. According to researchers at the University of Illinois at Chicago School of Public Health, sales of soda dropped 21% during the four months it was in effect.

Researchers said it proved to be an effective way to reduce consumption of drinks linked to chronic health conditions like diabetes and obesity.

An outcry by consumer groups and the public led officials to repeal the law.