Penal Code § 987.1
CHAPTER 1. Of the Arraignment of the Defendant
Counsel at the preliminary examination shall continue to represent a defendant who has been ordered to stand trial for a felony until the date set for arraignment on the information unless relieved by the court upon the substitution of other counsel or for cause.