MILWAUKEE — The Wisconsin Supreme Court is set to rule on whether Marquette University was correct to fire a conservative professor who wrote a blog post criticizing a student instructor whom he believed shut down discussion against gay marriage.

John McAdams sued the private Catholic school in 2016, arguing that he lost his job for exercising freedom of speech.

Marquette says McAdams was not fired for the content of his 2014 post , but because he named the instructor and linked to her personal website that had personal identifying information. Afterward, the instructor received a flood of hateful messages and threats.

The ruling expected Friday has been eagerly awaited by conservatives, who see universities as liberal havens, and by private businesses that want control over employee discipline.