The popular weight-loss drug Wegovy reduced the risk of serious heart problems by 20% in a large, international study that experts say could change the way doctors treat certain heart patients.

The research is the first to document that an obesity medication can not only pare pounds, but also safely prevent a heart attack, stroke or a heart-related death in people who already have heart disease — but not diabetes.

The findings could shift perceptions that the new class of obesity drugs are cosmetic treatments and put pressure on health insurers to cover them.