2023 California Code › Code of Civil Procedure - CCP › PART 2 - OF CIVIL ACTIONS › TITLE 4 - OF THE PLACE OF TRIAL, RECLASSIFICATION, AND COORDINATION OF CIVIL ACTIONS › CHAPTER 1 - Place of Trial › Section 399.

399. (a) If an order is made transferring an action or proceeding under any provision of this title, the clerk shall, after expiration of the time within which a petition for writ of mandate could have been filed pursuant to Section 400, or if a writ petition is filed after judgment denying the writ becomes final, and upon payment of the costs and fees, transmit the pleadings and papers of the action or proceeding, or, if the pleadings are oral, a transcript of the pleadings, to the clerk of the court to which the action or proceeding is transferred. If the transfer is sought on any ground specified in subdivision (b), (c), (d), or (e) of Section 397, the costs and fees of the transfer, and of filing the papers in the court to which the transfer is ordered, shall be paid at the time the notice of motion is filed by the party making the motion for the transfer. If the transfer is sought solely, or is ordered, because the action or proceeding was commenced in a court other than that designated as proper by this title, those costs and fees, including any expenses and attorney’s fees awarded to the defendant pursuant to Section 396b, shall be paid by the plaintiff before the transfer is made. If the defendant has paid those costs and fees at the time of filing a notice of motion, those costs and fees shall be repaid to the defendant, upon the making of the transfer order. If those costs and fees have not been paid by the plaintiff within five days after service of notice of the transfer order, any other party interested in the action or proceeding, whether named in the complaint as a party or not, may pay those costs and fees, and the clerk shall transmit the papers and pleadings of the action or proceeding as if those costs and fees had been originally paid by the plaintiff, and those costs and fees shall be a proper item of costs of the party paying them, recoverable by that party if that party prevails in the action. Otherwise, those costs and fees shall be offset against and deducted from the amount, if any, awarded the plaintiff if the plaintiff prevails against that party in the action. The cause of action shall not be further prosecuted in any court until those costs and fees are paid. If those costs and fees are not paid within 30 days after service of notice of the transfer order, if a copy of a petition for writ of mandate pursuant to Section 400 is filed in the trial court, or if an appeal is taken pursuant to Section 904.2, then, within 30 days after notice of finality of the order of transfer, the court on a duly noticed motion by any party may dismiss the action without prejudice to the cause on the condition that no other action on the cause may be commenced in another court before satisfaction of the court’s order for costs and fees. If a petition for writ of mandate or appeal does not result in a stay of proceedings, the time for payment of those costs and fees shall be 60 days after service of the notice of the order.
(b) At the time of transmittal of the papers and pleadings, the clerk shall mail notice to all parties who have appeared in the action or special proceeding, stating the date on which the transmittal occurred. Promptly upon receipt of the papers and pleadings, the clerk of the court to which the action or proceeding is transferred shall mail notice to all parties who have appeared in the action or special proceeding, stating the date of the filing of the case and number assigned to the case in the court.
(c) The court to which an action or proceeding is transferred under this title shall have and exercise over the action or proceeding the like jurisdiction as if it had been originally commenced in that court, all prior proceedings being saved, and the court may require amendment of the pleadings, the filing and service of amended, additional, or supplemental pleadings, and the giving of notice, as may be necessary for the proper presentation and determination of the action or proceeding in the court.
(d) Notwithstanding subdivision (c), the court transferring jurisdiction of a family law action or proceeding pursuant to Section 398 shall, if another court has not assumed jurisdiction over the action or proceeding, retain jurisdiction to make orders designed to prevent:
(1) Immediate danger or irreparable harm to a party or to the children involved in the matter.
(2) Immediate loss or damage to property subject to disposition in the matter.
(e) By January 1, 2019, the Judicial Council shall, by rule of court, establish:
(1) The timeframe for a court to transfer jurisdiction over a family law action or proceeding.
(2) The timeframe for a court to assume jurisdiction over a family law action or proceeding.
(Amended by Stats. 2017, Ch. 316, Sec. 1. (AB 712) Effective January 1, 2018.)