Reuters

LOS ANGELES

Actress Katherine Heigl and Duane Reade have come to an agreement in a lawsuit accusing the New York pharmacy of improperly posting to its social media accounts a paparazzi photograph of her leaving one of its stores.

A lawyer for Heigl, who starred in the film ‘Knocked Up’ and television show ‘Grey’s Anatomy,’ confirmed Wednesday a deal was agreed with the Walgreen Co-owned chain to resolve the lawsuit, filed in April in New York federal court.

The terms are confidential, but a statement from Heigl’s lawyer Peter Haviland called it ‘mutually beneficial.’ As part of the deal, he said, Duane Reade will make a contribution to a foundation focused on animal welfare, established in 2008 after Heigl’s brother was killed in a car accident.