A transgender engineer lost her appeal to the Third Circuit in a case alleging that her former employer’s discrimination culminated in her 2008 firing from the job.

The U.S. Court of Appeals for the Third Circuit upheld an opinion from a federal district judge in Philadelphia who found that Janis Stacy failed to prove that the apparently legitimate reasons for her termination were really a pretext to fire her because of her transition from life as a man to life as a woman.