Evidence can be obtained illegally whenever the investigation violated the defendant's civil rights. Those rights can come from: federal law, Texas search and seizure law, and the U.S. Constitution.