By the Court.
Bocees, J.[After stating facts.]—It is first insisted, that the defendants were entitled to costs as a matter of legal right on dismissal of the complaint, or its equivalent, the discontinuance of the action; and sections 304 and 305 of the Code of Procedure are relied on in support of this position. As these sections stood prior to the amendment of 1862, no question could arise. Prior to that amendment, costs were most clearly in the discretion of the court, in equity actions. Section 304 declared that costs should he allowed to the plaintiff upon a recovery in the cases therein specified, among which were actions of which, “ according to section 54, a court of a justice of the peace had no jurisdiction.”
Section 305 provided that costs should he allowed of course, to the defendant in the actions mentioned in section 304, unless the plaintiff was entitled to costs therein ; and by section 306, in other actions costs were to be allowed or not, in the dis*296eretion of the court. The “ other actions ” here alluded to, embraced equity actions in which costs would be given or withheld, as the court should direct.
This is very plain; indeed is conceded by all. But by the amendment of 1862, the words “according to section 54” were omitted in subdivision 3 of section 304; and it is insisted that as the section now stands, the plaintiff is entitled to costs in all cases of a recovery by him in an action of which a juctice of the peace has no jurisdiction, and as a consequence, by section 305, the defendant must have costs in all such cases if the plaintiff be not entitled to costs.
This construction, however, renders meaningless subdivision 1 of section 306, which declares that “ in other actions costs may be allowed or not, in the discretion of the court.” It is indisputable that this paragraph embraced equity actions prior to 1862. It was introduced principally, if not solely, with a view to a fair and just imposition of the burden of litigation, according to the equities of the particular case. This right had been exercised by courts having equity powers from time immemorial, and was always deemed essential to the proper exercise of equity jurisdiction.
W.e cannot believe that the legislature intended to effect so great a change, in the absence of any express declaration to that effect. Had such intention existed, it would not have been left, as we conceive, to mere construction. Especially must we so conclude when such construction renders other provisions of law nugatory.
All the provisions bearing on the subject under consideration should be read together, and should be so construed as to take effect in harmony. Governed by this rule of interpretation, the right to give or withhold costs to a party in equity cases rests in the discretion of the court, as declared by section ■306, and such discretion it is not the province of this court to direct or control.
Again: it has always been the practice to permit actions to be discontinued, in the discretion of the court, without costs, even in suits at law, when the defendant had obtained a discharge under the insolvent law, and in many other cases. Such permission existed as a matter of practice, resting in *297the discretion of the court, and could not be overruled on appeal.
The numerous cases cited by the appellant’s counsel, showing in what instances the court of equity jurisdiction will refuse permission to discontinue, without costs, have no pertinency in this court. Those cases were proper for the consideration of the court on the hearing of the application. They were authorities on the question of practice in that court. But this court has not the power to correct "errors of practice in the inferior court. We are also 'cited to various statutes in relation to costs, and particularly to 2 R. S. 613, § 1, which provides that a plaintiff, in dismissing his bill or petition in a court of equity, shall pay to the defendant his costs to be taxed, except in certain cases there specified. But the Code abrogated these statutory provisions, and declared when, and under what circumstances, parties were entitled to recover costs, and they can now have them in no other cases. We are of the opinion that the order and judgment appealed from must be affirmed, but without costs of appeal.
All the judges concurred in dismissal of appeal from orders without costs, and affirmance of judgment without costs.
Judgment affirmed, without costs of appeal.