stripped of his right to a court-appointed attorney