The U.S. Postal Service didn’t have to exempt an Evangelical Christian mail carrier who observes Sabbath from delivering Amazon packages on Sundays, a split panel on the U.S. Court of Appeals for the Third Circuit ruled Wednesday.

The Philadelphia-based appeals court held that allowing former USPS employee Gerald Groff to skip Sunday shifts as a religious accommodation would have caused an undue hardship on USPS, and affirmed the lower court’s summary judgment in favor of the postal service.