Except as otherwise provided in section 606 of the revised judicature act of 1961, 1961 PA 236, MCL 600.606, if a child less than 18 years of age is arrested, with or without a warrant, the child must be taken immediately before the family division of circuit court of the county where the offense is alleged to have been committed, and the officer making the arrest shall immediately make and file, or cause to be made and filed, a petition against the child as provided in chapter XIIA of the probate code of 1939, 1939 PA 288, MCL 712A.1 to 712A.32. Except as otherwise provided in section 606 of the revised judicature act of 1961, 1961 PA 236, MCL 600.606, if during the pendency of a criminal case against a child in a court in this state it is ascertained that the child is less than 18 years of age, the court shall immediately transfer the case, together with all papers connected with the case, to the family division of circuit court of the county where the offense is alleged to have been committed. If a child 14 years of age or older is charged with a felony, the judge of probate, after investigation and examination and upon motion of the prosecuting attorney, may waive jurisdiction under section 4 of chapter XIIA of the probate code of 1939, 1939 PA 288, MCL 712A.4. If jurisdiction is waived, the child may be tried in the court having general criminal jurisdiction of the offense.
MCL 764.27