A federal judge in Pennsylvania has thrown out a lawsuit filed by a retired deputy commissioner of the Philadelphia Department of Prisons claiming he was passed up for a promotion because of his race, and faced retaliation when he complained.

U.S. District Judge Jan DuBois of the Eastern District of Pennsylvania granted the city of Philadelphia’s motion for summary judgment on plaintiff Robert Tomaszewski’s claims.