What is guaranteed by the Sixth Amendment’s right to counsel?

protection from unlawful searches and seizures
the right to avoid self-incrimination in a trial
protection from cruel or unusual punishment
the right to be represented by an attorney