How was the concept of prior restraint established?

The precedence was established through the US Supreme Court ruling on the interpretation of specific factors related to freedom of the press and freedom of speech as defined in the First Amendment of the US Constitution.