Immediately upon the arrest of the person charged, the magistrate must give notice thereof to the district attorney. The district attorney must immediately thereafter give notice to the executive authority of the State, or to the prosecuting attorney or presiding judge of the court of the city or county within the State having jurisdiction of the offense, to the end that a demand may be made for the arrest and surrender of the person charged.
Ca. Pen. Code § 1551.3