The U.S. Court of Appeals for the Sixth Circuit reversed a district court’s summary judgment ruling in favor of Hewlett-Packard Enterprise Co., finding that a jury should have to sift through the evidence to determine whether the company fired an employee based on his age.

Robert Sloat was 54 years old at the time he was hired in 2011 to develop training programs for salespeople and he received stellar performance reviews from his managers, according to the appellate court’s opinion. He claimed that changed once he was promoted at age 60, making him the oldest person to report to his new manager, Steven Hagler.