California Code
ARTICLE 3 - The Verdict
Section 629.

629. (a) The court, before the expiration of its power to rule on a motion for a new trial, either of its own motion, after five days’ notice, or on motion of a party against whom a verdict has been rendered, shall render judgment in favor of the aggrieved party notwithstanding the verdict whenever a motion for a directed verdict for the aggrieved party should have been granted had a previous motion been made.

(b) A motion for judgment notwithstanding the verdict shall be made within the period specified by Section 659 for the filing and service of a notice of intention to move for a new trial. The moving, opposing, and reply briefs and any accompanying documents shall be filed and served within the periods specified by Section 659a, and the hearing on the motion shall be set in the same manner as the hearing on a motion for new trial under Section 660. The making of a motion for judgment notwithstanding the verdict shall not extend the time within which a party may file and serve notice of intention to move for a new trial. The court shall not rule upon the motion for judgment notwithstanding the verdict until the expiration of the time within which a motion for a new trial must be served and filed, and if a motion for a new trial has been filed with the court by the aggrieved party, the court shall rule upon both motions at the same time. The power of the court to rule on a motion for judgment notwithstanding the verdict shall not extend beyond the last date upon which it has the power to rule on a motion for a new trial. If a motion for judgment notwithstanding the verdict is not determined before that date, the effect shall be a denial of that motion without further order of the court.

(c) If the motion for judgment notwithstanding the verdict is denied and if a new trial is denied, the appellate court shall, if it appears that the motion for judgment notwithstanding the verdict should have been granted, order judgment to be so entered on appeal from the judgment or from the order denying the motion for judgment notwithstanding the verdict.

(d) If a new trial is granted to the party moving for judgment notwithstanding the verdict, and the motion for judgment notwithstanding the verdict is denied, the order denying the motion for judgment notwithstanding the verdict shall nevertheless be reviewable on appeal from that order by the aggrieved party. If the court grants the motion for judgment notwithstanding the verdict or of its own motion directs the entry of judgment notwithstanding the verdict and likewise grants the motion for a new trial, the order granting the new trial shall be effective only if, on appeal, the judgment notwithstanding the verdict is reversed, and the order granting a new trial is not appealed from or, if appealed from, is affirmed.

(Amended by Stats. 2015, Ch. 303, Sec. 40. (AB 731) Effective January 1, 2016.)