This is one of the five cases in which the facts were detailed in the opinion rendered in the moratorium cases December 7, 1935, and reported in 142 Kan. 670, 52 P. 2d 1208. On January 2, 1936, the petition of the appellees for a rehearing was denied and in connection therewith the appellees were allowed, pursuant to their urgent request, until February 15, 1936, to redeem from the foreclosure sale. The appellant promptly asked a reconsideration of that part of that order denying a rehearing for the want of jurisdiction, this court having held in the opinion rendered December 7, 1935, that the foreclosure judgment rendered by the trial court fixing the period of redemption at eighteen months was res judicata.
The appellant by its appeal to this court from the order of the trial court, extending the period of redemption under the moratorium act (Laws 1935, ch. 226) was presumed to have brought its case to this court in a way and manner to have given this court complete jurisdiction of all the matters involved in the case. This court reversed the judgment of the trial court and held the foreclosure judgment to be res judicata. Is there any question of the jurisdiction or the authority or right of this court to have affirmed that judgment, which would have extended the period of redemption to January 15,1937? The fact that the judgment was reversed did not deprive this court of its jurisdiction over the judgment from which the appeal was taken or the judgment to which the extension had been made, when either affirming or modifying would have effected an extension.
*280R. S. 60-3330 authorizes this court to modify as well as affirm or reverse the judgments of the trial court, and this rule especially applies in equity cases. But this power and authority is necessarily limited to the time this court has jurisdiction of the case. It could not be exercised in any case where the jurisdiction was ended or concluded. R. S. 60-3317 provides that the appellate court shall—
“. . . in any case pending before it . . . render such final judgment as it deems that justice requires or direct such judgment to be rendered by the court from which the appeal was taken, without regard to technical errors and irregularities in the proceedings of the trial court.”
In the recent mortgage foreclosure case, Prudential Ins. Co. v. Foster, 139 Kan. 112, 30 P. 2d 104, it was held:
“R. S. 60-3317 authorizes the supreme court to direct a final judgment to be rendered by the trial court, and, in an action of an equitable nature, to direct such a judgment to be rendered as fairly and finally disposes of the matters in controversy.” (Syl. fl 2.)
In the case of Neef v. Harrell, 82 Kan. 554, 109 Pac. 188, where the period of redemption in a mortgage foreclosure case was fixed at eighteen months and on appeal was reduced to six months, this court said in the opinion:
“That time has already expired, but in order that opportunity may be given for the exercise of the right of redemption after the final judgment in the case the period will be extendéd until June 15, inclusive.” (p. 555.)
The finding of this court that a judgment of the district court was res judicata does not prevent this court from the exercise of equitable jurisdiction in modifying that judgment while the appeal is pending in this court, which appeal was from a subsequent judgment setting aside and annulling such former judgment. Pendency of the appeal in this court is the limitation of its equitable jurisdiction, just as the expiration of the term of court limits the jurisdiction of the district courts over their judgments.
Appellant cites the recent case of Thornton v. Van Horn, 140 Kan. 568, 37 P. 2d 1015, which applies wholly to modification of judgments by district courts and the proceedings of taking further evidence and reaching a different conclusion, and not to the effect of a new law as to such former judgment, as in the case at bar. The syllabus in that case is as follows:
“Rule followed that after the expiration of the term of court at which a judgment was rendered, the court has no further control of it, and subsequent proceedings in the same case conducted after the expiration of the term, which had the effect of rendering nugatory the judgment already entered in appellant’s behalf, were void.”
*281Further along the same line, as applicable to the control of the district courts over their former judgments, it was held in Sylvester v. Riebolt, 100 Kan. 245, 164 Pac. 176:
“Rule applied that the district court has absolute control of its judgments during the term at which they were rendered.” (Syl.)
And it was held in Martindale v. Battey, 73 Kan. 92, 84 Pac. 527, that—
“After the expiration of the term at which a judgment is rendered the court has no power to set it aside because of its being based on an erroneous ruling.” (Syl. II2. See, also, Cornell University v. Parkinson, 59 Kan. 365, 53 Pac. 138; Moore v. McPherson, 106 Kan. 268, 187 Pac. 884; Isenhart v. Powers, 135 Kan. 111, 9 P. 2d 988; Quinton v. Adams, 87 Kan. 112, 123 Pac. 740; and Piatt v. Flaherty, 96 Kan. 42, 149 Pac. 734.)
The last two cases above cited are urged as being approvals by this court of the renewed jurisdiction of the district court after the term at which the judgment was rendered by reason of the mandate of this court directing certain action to be taken by the district court. In addition to complying with the mandate, the district courts went further and exercised equitable jurisdiction by granting further time for redemption and on appeal to this court such extensions were not reversed, but the per curiam opinion on the rehearing of the Flaherty case, on page 46, immediately following the opinion in that case shows that the matter of exercising equitable jurisdiction in cases that have been appealed belongs properly to the appellate court. So that the general rule of the jurisdiction of the district courts terminating at the expiration of the term should prevail and apply in cases appealed as well as those not appealed. And the renewed jurisdiction after the issuance of the mandate of the appellate court is properly limited to the matters contained in the mandate.
Appellant’s petition should be denied and the extension heretofore granted for redemption to February 15,1936, should remain in force. It is so ordered.