A civil rights lawsuit in which a former associate editor of the New York Post alleges she was forced out because of her race and gender has survived a defense motion for summary judgment after a federal judge found proof that the newspaper and some of its top employees fostered a racially and sexually hostile workplace.

In a decision Monday, Southern District Judge Lorna Schofield said Sandra Guzman produced sufficient evidence to suggest the Post’s assertion that she was fired for legitimate, non-discriminatory reasons is a pretext to cover up its racial and gender discrimination.