United States v. Holmes was a significant legal case decided in 1884, involving the issue of necessity as a defense for criminal behavior. The case centered around an incident where a shipwreck occurred, and the defendant, Holmes, was accused of throwing passengers overboard to save others during a lifeboat shortage. This case highlights how necessity can be invoked in criminal law to justify actions taken in extreme situations where harm must be minimized.