Miranda warning
The Supreme Court decided the police got Miranda's confession by ignoring his rights, and they threw out Miranda's conviction.  (Miranda was re-tried, and even without the confession as evidence, he was convicted again.)