delivered the opinion of the court:
This is an original action in this court, wherein the relator represents that at the October term, 1890, of the circuit court of Cook county, Alexander Nimmick and James M. Bailey, trading under the firm name of Phillips, Nimmick & Co., citizens of the city of Pittsburg, commenced a suit in assumpsit against the relator, claiming damag'es in the sum of $30,000, and at the same time filed a declaration comprising the common counts only, to which the defendant pleaded the general issue and set-off. Afterwards, and on the 6th day of October, 1891, by leave of the court, the plaintiffs amended their declaration by adding additional counts upon certain promissory notes therein described, to which the defendant filed the plea of general issue and pleas of set-off. On the 10th day of July, 1895, by leave of the court, the plaintiffs filed an additional count instanter, which averred that the defendant became indebted to the plaintiffs in the sum of $30,000, and made an accounting, and did then and there adjust, agree upon and declare the amount due from the defendant to the plaintiffs, and did set aside certain accounts and moneys to pay the said indebtedness, which accounts and moneys were then and there accepted by the plaintiffs, who thereby became lawfully possessed of the same in settlement of the said indebtedness, yet the defendant wrongfully and secretly did use and convert the same to his own use and profit and fraudulently appropriated said moneys to his own be-hoof, but has hitherto wholly neglected and refused to pay the same. The defendant appeared and filed his demurrer to the count last mentioned, which was overruled, and a rule was entered by the court against the defendant to plead 'to said count. Thereupon the defendant filed his plea of not guilty and the plea of the Statute of Limitations, to which replications were filed. On the 8th day of March, 1897, a jury was impaneled to try the issue then pending, and the plaintiffs voluntarily withdrew their last mentioned count and the court thereupon discharged the jury. Afterwards, Edmund W. Burke, one of the judges of the circuit court of Cook county, being about to set said cause for trial on the counts in assumpsit firstly and secondly filed, the relator filed a plea to the jurisdiction of the court, to which a demurrer was interposed and sustained, and the said cause was set for trial on the 18th day of July, 1897, which trial was to be on the counts firstly and secondly filed. This petition alleges that the court was without jurisdiction to set said cause for hearing on the counts in assumpsit filed as the common counts and as the special counts on the promissory notes, the relator’s contention being that the count filed on the 10th day of July, 1895, was a count in trover, and when a jury was impaneled to try the cause, and the plaintiffs voluntarily dismissed as to that count and did not ask leave to file any other, the whole case was out of court; and by filing the count in trover it was a declaration of record that the plaintiffs intended to bring an action of tort, and not of assumpsit, and the filing of such count was a waiver of the counts in assumpsit which discontinued them, and by the voluntary dismissal of the count alleged to be a count in trover there was no cause pending to set for trial and the court was without jurisdiction to set said cause for trial. By this proceeding relator asks for a writ of prohibition to prohibit the circuit court of Cook county, and Edmund W. Burke, judge, from taking jurisdiction of said cause on the common counts in assumpsit and the counts on the promissory notes.
The writ of prohibition is an extraordinary writ issuing out of a court of superior jurisdiction and directed to an inferior court for the purpose of preventing the latter tribunal from usurping jurisdiction of a matter with which it is not legally vested, and is used to keep inferior courts within limits and bounds prescribed by law. The writ issues upon the ground that it is the remedy provided to prevent an excess of jurisdiction, and this writ cannot take the place of a writ of error, which proceeds upon the ground of error in the exercise of jurisdiction. A writ of prohibition cannot be permitted to bring before the court what may properly be brought before a higher tribunal by a writ of error or certiorari, and can never be used as a process for the correction of errors in inferior tribunals where such tribunals have jurisdiction of the subject matter. Mere irregularities in the proceedings of inferior courts, or mistaken rulings on questions before such courts on matters within their jurisdiction, do not constitute a sufficient ground for granting the writ of prohibition, since such act would be the exerfiise of appellate power, which can only properly be adjudicated or determined on appeal or writ of error, and in some cases by certiorari. Wherever an inferior court has jurisdiction of a matter in controversy it is not within the province of a superior court to interfere, by prohibition, to correct errors or mistakes, but a party aggrieved must be left to pursue the ordinary remedies for the correction of errors. In the application of this principle with reference to the writ of prohibition it cannot matter whether the judgment of the inferior tribunal was correct or erroneous, for if its jurisdiction exists, prohibition will not go to prevent an erroneous exercise of the jurisdiction or to prevent or correct a mistake in the action of the inferior tribunal. A very broad distinction exists between the control of the court within the bounds of its jurisdiction by this writ, and controlling- its jurisdiction of a subject matter over which it has a right to proceed. The latter case is not within the bounds of the proper exercise of a writ of prohibition.
In this case, a suit was brought in the circuit court of Cook county—a court of general jurisdiction—on a subject matter of which that court had jurisdiction. The contention of the relator is, that the count filed on the 10th day of June, 1895, was a count in trover and a waiver Of the counts in assumpsit, and amounted to a discontinuance of the counts in assumpsit, and, upon its dismissal, no application being made to file additional counts, the court lost jurisdiction of the subject matter, and when the cause was proposed to be set down for hearing and a plea to the jurisdiction was filed, the court was usurping power in sustaining a demurrer to the plea. If the contention of the relator that the count filed on the 10th day of June was a count in trover, and that such count was a discontinuance of the other counts, were admitted, (which we do not hold to be true,) still the entire subject matter was within the jurisdiction and control of the circuit court' of Cook county, and the most that could be claimed is, that there was an erroneous exercise of judgment and that a mistake was made. The writ of prohibítion never was desig'ned for the correction of such errors. Aside from all this, under the constitution of this State this court has no jurisdiction in prohibition except in aid of its jurisdiction on appeal or writ of error. People ex rel. v. Circuit Court of Cook County, 169 Ill. 201.
The writ is denied.
Writ denied.