A Missouri teacher claims she was harassed and ultimately fired from her old job at a Roman Catholic elementary school for being pregnant and unmarried.

Michelle Bolen alleges that when she informed a priest at St. Therese Catholic School in Kansas City that she was pregnant, he expressed concern about the public “scandal” it would cause the school to have an unwed mother on staff.

Months later, the Diocese of Kansas City-St. Joseph refused to renew Bolen’s employment contract ― even though she had worked at the school for nearly 15 years without a problem, according to her lawsuit.

Bolen is now suing the diocese and St. Therese Catholic School’s former principal.

Diocese spokesperson Jack Smith told The Kansas City Star that the claims Bolen makes in her lawsuit are “completely spurious.” Smith said the teacher’s contract wasn’t renewed “for reasons that have nothing to do with her pregnancy.”

The diocese has tried to have the lawsuit dismissed after it was first filed in 2016, according to The Kansas City Star ― arguing that, as a religious institution protected by the First Amendment, it can’t be sued for its employment decisions.

But Jackson County Circuit Court Judge Charles McKenzie has agreed to let the case proceed to a jury trial. The trial is scheduled to start next Monday, according to court records.