New York Times v. United States was a landmark Supreme Court case decided in 1971 that upheld the freedom of the press by ruling that the government could not prevent the publication of classified documents, specifically the Pentagon Papers, without violating the First Amendment. This case established a strong precedent for protecting press freedom against prior restraint by the government, emphasizing the role of a free press in a democratic society and its ability to inform the public about governmental actions.