A defendant’s Sixth Amendment right to counsel attaches at his first appearance before a magistrate, whether or not the prosecutor is also on hand, the Supreme Court ruled on Monday.

The Court’s 8-1 decision in Rothgery v. Gillespie County, Texas, came as the justices began their final week before adjourning for the summer. The justices will take the bench again on Wednesday and possibly one other day this week.