This action was brought upon a judgment which was at the time of filing the complaint more than five years and less than six years old. The defendant by demur*597rer plead the statute of limitations. His demurrer was overruled and upon his refusal to plead further, his default was entered and the cause was heard by the court and judgment entered against him. This appeal is from the order overruling the demurrer and from the judgment.
The appellant assigns three errors: First, that the court erred in overruling the demurrer to the complaint; second, the court erred in entering judgment upon an “expired” judgment; and, third, the court erred in rendering judgment for interest on the costs of the first judgment.
The grounds of demurrer to the effect that the complaint does not state facts sufficient to constitute a cause of action and that this action was barred by the provisions of sees. 4052, 4053, 4060, 4470 and 4474, Rev. Codes, we will consider together.
Sec. 4052 provides that an action may be brought within five years upon any contract, obligation or liability founded upon an instrument in writing.
Sec. 4053 provides that an action may be brought within four years upon a contract, obligation or liability not founded upon an instrument in writing.
Sec. 4060 provides that an action for relief not otherwise provided for must be commenced within four years after the cause of action shall have accrued.
Sec. 4470 provides that a party in whose favor judgment is given may at any time within five years after the entry thereof have a writ of execution issue for its enforcement.
See. 4474 provides that in all cases other than for the recovery of money the judgment may be enforced or carried into execution after the lapse of five years from the date of its entry, by leave of court, upon motion, or by judgment for that purpose founded upon supplemental pleadings.
It appears from the complaint that this action was brought on November IS, 1910, upon a judgment made and duly entered on November 25, 1904, no part of which had been paid at the date of bringing this action, and it is alleged that said judgment is a valid, subsisting judgment, and six years have not expired since the rendition and docketing of it. It thus *598appears that this action was commenced within six years after the entry of said judgment. Sec. 4051, Rev. Codes, prescribes the period within which an action on a judgment or decree may be commenced and is as follows:
“Within six years:
“1. An action upon a judgment or decree of any court of the United States, or of any state or .territory within the United States; . . . . ”
It is admitted by counsel that an action to continue in "force a judgment for the recovery of money might be commenced within five years after the entry of such judgment, under the provisions of said sec. 4052, but it is contended that as an execution can only be issued for the enforcement of a money judgment within five years after its entry (sec. 4470), an action cannot be maintained thereon after the expiration of the period in which an execution may issue. Defendant’s contention is based upon the ground that the writ of scire facias has been abolished and.the legislature has provided a substitute for that writ by the provisions of said sec. 4474. Conceding that to be true, it does not aid counsel in his contention, for, under the common law, the writ of scire facias in no manner.prohibited or interfered with the right to bring an action upon a judgment to revive it, for under the common law a judgment might be kept alive, first, by writ of scire facias, and second, by an action upon the judgment. One of those rights in-no manner interfered with'the other. The right under the common law of an action on a judgment to revive it continues in this state unless it has been destroyed by statute. It is stated in 23 Cyc., p. 1502, that “At common law and generally except in so far as the right has been restricted by local statutes, the owner of a judgment may bring a suit upon it as a debt of record, in the court which rendered it or in any other court of competent jurisdiction, and prosecute the same to final judgment, notwithstanding his right to issue execution on the original judgment remains unimpaired, or, on the other hand, notwithstanding the time for issuing execution has expired; and it is not necessary to allege or show any other cause for suing on the judgment than the *599fact that it remains unpaid.” So far as the statutes in this state are concerned, under the provisions of said sec. 4051, it is expressly provided that an action upon a judgment or decree may be commenced within six years after its entry. We have there the right expressly given that is recognized by the common law, except under the statute the right to bring such action is limited to six years.
We find no prohibition in the constitution against legislation for enforcing, reviving and renewing judgments, and therefore conclude that that matter is within legislative discretion. The legislature may permit suit to be brought upon a judgment for a renewal or revivor of it, or it may deny that privilege. It may permit a judgment to be revived and extended upon notice, or it may require an action for that purpose, or it may permit execution to be issued during any period of time whatever for the enforcement of it; it may establish a period of limitation beyond which an execution may not issue to enforce it; or it may permit an execution to issue at any time until the judgment is fully satisfied, and may authorize an action of revivor to be brought after the limitation for the issuance of execution has expired. These are all matters of legislative policy and the procedure in different states varies greatly. If the legislature had not abolished the writ of scire facias (sec. 4611, Rev. Codes), and had enacted no statute limiting the time in which an action might be brought upon a judgment, the common law in regard to writs of scire facias and actions on judgments would be in force in this state. However, the legislature has abolished said writ and it has limited the time in which an execution may issue for the enforcement of a judgment to five years without a revival (see. 4470), and has limited the time in which an • action may be brought upon a judgment to six yearn. (Sec. 4051, Rev. Codes.) The duty of the court in the case at bar is merely to construe the several statutes which have been adopted in this state bearing upon this subject, as this entire matter is left to statutory regulation.
In abolishing the writ of scire facias and enacting a substitute therefor by the provisions of sec. 4474, the substitute was not intended to be the exclusive method by. which a *600judgment might be revived or kept alive, and the fact that a judgment for the recovery of money was excluded from the provisions of said section 4474 is no indication that the legislature intended to exclude such judgments from the provisions of sec. 4051. Under our law the right to maintain an action on a judgment is not dependent upon the right to issue an execution thereon, but is dependent on and governed by the provisions of said see. .4051, limiting the time in which an action may be brought on a judgment.
Counsel’s main contention is that the judgment sued on herein was “dormant” or “dead,” and so “dormant” and “dead” that it could not be made the basis of an action. But the legislature has declared otherwise by the provisions of sec. 4051, and its action therein is not expressly or impliedly prohibited by any provision of our constitution.
It is stated in 11 Cyc. of Pl. & Pr., p. 1089:
“At common law, and by the overwhelming weight of authority in this country, the right to maintain an action upon a domestic judgment is not at all dependent upon the right to issue an execution thereon. Thus an action may be maintained upon a dormant judgment, and it may equally well be maintained upon a judgment which is not dormant, and upon which execution might issue.”
Under the provisions of our statutes there is one method for keeping a judgment for the recovery of money alive, and that is by action on the judgment; and there are two methods of keeping other judgments alive, one of which is by action on the judgment, and the other by proceedings under the provisions of sec. 4474.
It is stated in 23 Cyc., p. 1447, as follows:
“An action of debt on the judgment is always a proper form of proceeding; and where the statute provides a special remedy for the revival of judgments, as a writ of scire facias or a motion for that purpose, it is not exclusive of the common-law right of action on the judgment, but cumulative thereto, so that the creditor may pursue either remedy. ’ ’
The author cites in support of that proposition eases from Iowa, Kansas, Louisiana, Montana and Texas.
*601Appellant cites as maintaining his position the case of Mawhinney v. Doane, 40 Kan. 676, 17 Pac. 44. The laws of Kansas prescribe one period of time for keeping a judgment alive when both the plaintiff and defendant are still alive, and a different period of time where one or both of the parties are dead. In that case both parties were dead and the action to revive was not brought within the period of limitation for that class of actions and has no application to this case whatever.
The next question presented is whether an action can be maintained for the revival of a domestic judgment under the provisions of sec. 4051, which prescribe the period of six years in which an action may be commenced upon a judgment or decree of any court of the United States, or of any state or territory within the United States. That section was adopted from the laws of California. (See Cal. Prac. Act, 1850, sec. 15; Sess. Laws of Ida. 1863, p. 555, sec. 16.) Under the laws of California and the laws of Idaho, until 1877 the period of limitation for the commencement of an action upon a judgment and the time in which an execution might be issued on such judgment coincided and were the same. The power to enforce and the power to renew the judgment ceased at the same time; but in 1877 (see Sess. Laws of Ida., p. 55), said sec. 16 of the Practice Act of Idaho was amended, limiting the time in which an action might be commenced on a judgment to six years instead of five.
In 1859, the supreme court of California, in the case' of Ames v. Hoy, 12 Cal. 11, had under consideration said section of the statute and the question whether a suit might be maintained upon a domestic judgment was then considered, and in the course of the opinion the court said:
“ Several questions are made. 1. That suit cannot be maintained in this state on a domestic judgment. At common law, actions could be so maintained. (1 Ch. Pl. 103, 104.) There is nothing in our .statute which divests the right; and the policy and inconvenience, suggested by the appellant, applied as well in England as here. The chief argument is, that there is no necessity for a right of action on a judgment, *602inasmuch as execution can be issued to enforce the judgment already obtained, and no better or higher right or advantage is given to the subsequent judgment. But this is not true in fact, as in many cases it may be of advantage to obtain another judgment in order to save or prolong the lien; and in this ease the advantage of having record evidence of the judgment is sufficiently perceptible. The argument that a defendant may be vexed by repeated judgments on the same cause of action is answered by the suggestion that an effectual remedy to the party against this annoyance is the payment of the debt.”
In Stuart v. Lander, 16 Cal. 373, 76 Am. Dec. 538, referring to the ease of Ames v. Hoy, the court said: “We held that such an action might be maintained even though an execution might be issued to enforce the judgment.” That action was brought on a domestic judgment.
In Quivey v. Hall, 19 Cal. 98, the action was brought upon a domestic judgment.
In the well-considered case of Mason v. Cornise, 20 Cal. 212, Mr. Chief Justice Field, speaking for the court, construed the statute of limitations of California, which is similar to our sec. 4051, and stated, among other things:
“The section does not, in terms, except judgments recovered within the state; but, on the contrary, its language embraces the judgments and decrees of any court of any ‘state or territory within the United States.’ It would seem, according to the natural import of the words used, that there could be no question as to the application of the section to domestic judgments. ’ ’
In Hobbs v. Duff, 23 Cal. 596, the court said:
‘ ‘ The action having been brought within five years from the date of the decree, it is not barred by the statute.”
That action was on a domestic judgment.
In Rowe v. Blake, 99 Cal. 167, 33 Pac. 864, the supreme court of California stated:
“The right to bring an action upon a judgment or decree is recognized by that act as the subject of a civil action and may be brought within five years. Sec. 336, id. The provi*603sions of this section are applicable to domestic judgments. Mason v. Cronise, 20 Cal. 211.”
In Trenouth v. Farrington, 54 Cal. 273, the court held that sec. 336, Code Civ. Proc., applied to domestic judgments. In Baker v. Hummer, 31 Kan. 325, 2 Pac. 808, the court held that an action could be maintained on a dormant domestic judgment.
Said section 4051 having been adopted from California and construed to include domestic judgments before the same was adopted by this state, is a cogent reason for holding that said section applies to domestic judgments; and aside from that we think it a very reasonable construction of said statute to include domestic judgments therein.
As this action may be maintained on a domestic judgment and as the action is not barred by the statute of limitations or otherwise, the court did not err in overruling said demurrer.
The third error assigned is to the effect that the court erred in rendering judgment for interest on the original judgment. Appellant contends that the court had no authority to render a judgment whereby interest was allowed upon the judgment which included interest up to the date of the judgment, and'cites see. 1539 and other sections of our Revised Codes in support of his contention. Sec. 1539 provides as follows: “Compound interest is not allowed, but a debtor may agree in writing to interest on interest overdue at the date of such agreement.” That section has reference to compounding interest on contracts. It was never intended to apply to penalties and interest imposed by statute. In the ease of taxes, the principal amount due draws interest at the rate of eighteen per cent and the whole amount due is computed at the time of the sale and fixed by the sale as a lien upon the property. The same thing occurs in a number of other proceedings under our statutes. None of these, however, come within the terms of the statute against compounding interest, for the reason that the provisions of said see. 1539 were intended as a regulation of interest on contracts and not on judgments. It was designed to prevent the imposition *604upon borrowers of heavy exactions by compounding interest at frequent intervals. That being true, the provisions of our statute in regard to the rendition of judgments for debt, damages or costs and interest thereon must be considered in deciding this question. The following sections of our statute should be considered:
“See. 1536. In all judgments rendered by any court for any debt, damages, or costs, and in all executions issued thereon, the amount must be computed, as near as may be, in dollars and cents, rejecting small fractions; and no judgment or other proceeding is erroneous for such omission.
‘ ‘ Sec. 1537. Where there is no express contract in writing fixing a different rate of interest, interest is allowed at the rate of seven cents on the hundred by the year on: ... . 4. Money due on the judgment of any competent court or tribunal.
“See. 1538. Parties may agree in writing for the payment of any rate of interest, on money due or to become due on any. contract, not to exceed the sum of twelve per cent, per annum; any judgment rendered on such contract shall bear interest at the rate of seven per cent, per annum until satisfied.”
“See. 4914. The clerk must include in the judgment entered up by him, any interest on the verdict or decision of the court, from the time it was rendered or made, and the costs, if the same have been taxed or ascertained; and he must, within two days after the same are taxed or ascertained, if not included in the judgment, insert the same in a blank left in the judgment for that purpose, and must make a similar insertion of the costs in the copies and docket of the judgment. ’ ’
“Sec. 4471..... 1. If it [the execution] be against the property of the judgment debtor, it must require the sheriff to satisfy the judgment, with interest, .... ”
Under our statutes, costs become a part of the judgment. They are entered up in the judgment and docketed with it and are collected by the same execution on which the judgment is collected. Interest due at the date of the judgment is also computed and entered as part of the judgment. The total *605amount due for damages, interest and costs is entered as the judgment, and under the provisions of subd. 4 of sec. 1537, seven per cent is allowed for money due on judgments, and under the provisions of sec. 1538, any judgment rendered on contract bears interest at the rate of seven per cent until satisfied. These provisions clearly contemplate that judgments bear seven per cent interest, and this applies to the total amount of the judgment, including costs at the date of its entry, and the intention of the legislature is indicated by subd. 1 of said section 4471, which provides that if an execution for the enforcement of a judgment be against the property of the judgment debtor, it must require the sheriff to satisfy the judgment with interest thereon. That means interest on the full amount of the entire judgment. It was not the intention to segregate the principal sum for which the judgment was rendered from the interest that was due thereon at the date of the judgment, but to compute interest on the total amount of said judgment and costs from the date of the judgment.
Finding no error in the record, the judgment of the trial court must be affirmed and it is so ordered. Costs are awarded to the respondent.
Stewart, C. J., and Ailshie, 91, concur.