Just in time for Halloween, the Hershey Company has settled its trademark infringement lawsuit against a marijuana edibles company that sold candy closely resembling several of Hershey’s iconic brands.

The settlement follows Hershey’s June 2014 suit in which it alleged that TinctureBelle, LLC, a Colorado-based manufacturer of marijuana edibles, sold THC-laced knock-offs of Hershey’s famous Reese’s, Heath, Almond Joy, and York brands. As seen in the images below, TinctureBelle marketed its candy products under confusingly similar trademarks and trade dress as Hershey’s originals—it sold “Hashees” instead of Reese’s, and “Ganja Joy” in place of Almond Joy.

Click here to view image.

Click here to view image.

Click here to view image.

Click here to view image.

Hershey also claimed that TinctureBelle’s use of similar marks and packaging was likely to dilute the distinctive quality of Hershey’s famous marks and create in the minds of consumers an association between the two companies. According to Hershey’s complaint, “individuals and families the world over trust Hershey and its various brands as signifying safe and delicious treats for people of all ages.” By drawing an association with a marijuana edible company, Hershey alleged that TinctureBelle’s products would tarnish Hershey’s famous brands, reputation, and goodwill. Even though recreational marijuana is legal in Colorado, Hershey contended that its adult-oriented connotation would harm Hershey’s family-friendly brands.

As a result of the settlement, TinctureBelle agreed to destroy all remaining products that bear confusingly similar names and packaging to those made by Hershey.

This case is not the only time Hershey has sued a marijuana edibles company for trading on its brand names. Hershey filed a similar lawsuit in June 2014 against a Seattle, Washington medical marijuana dispensary, which, among other things, sold marijuana-infused peanut butter cups under the brand name “Reefer’s.” That case is still pending.

As Halloween approaches, these cases have given parents a whole new type of “sugar high” to worry about. Not only have marijuana edibles companies faced lawsuits from candy makers, but they have also raised the ire of law enforcement and parents groups that fear children will mistake the marijuana edibles for familiar, name-brand candy. As this public service announcement from the Denver Police Department shows, marijuana-infused candy frequently is indistinguishable from traditional Halloween fare:

Click here to view video.

The case is Hershey Co. v. TinctureBelle, LLC, case number 14-cv-01564-WYD, in the U.S. District Court for the District of Colorado.