Field, J. concurring. Terry, C. J. also concurred, except as to that portion of the opinion which overrules Vallejo v. Randall.
This was a bill, filed in the late Superior Court of San Francisco, to set aside a contract of sale made between plaintiff and defendant for a certain mining claim in Tuba County. The bill charges that plaintiff and defendant were engaged as partners in the purchase of mining claims; that the defendant was the active and managing partner, to whom the business was intrusted; that he became acquainted with the value of the claim, of which plaintiff was ignorant, and that defendant made false representations of the value to plaintiff, upon the faith of which the plaintiff sold to him at a price greatly below the real value. The bill further charges that profits and moneys properly belonging to the partnership came to, and are in, the hands of defendant, to an amount exceeding the sum—some four hundred dollars—paid by defendant to the plaintiff. Bill prays cancellation of the deed to the claim, account, etc.
The defendant demurred on two grounds :
1. That there was no tender to defendant of the sum received on the sale sought to be set aside.
2. That this being an action affecting real estate, the San Francisco Court had no jurisdiction.
The first point is not well taken. The general principle that a party seeking to rescind a contract must restore the other party to the condition in which he was before the contract was made is unquestionably correct. But we understand the bill offers in effect to do this. It alleges that the defendant is indebted to the plaintiff in a greater sum than that paid by the defendant. This money, in the hands of the defendant himself, is as good security to the defendant for this sum due him as the defendant could desire. The plaintiff risks his case upon the *324issue of the investigation and settlement of the accounts; but, if he is right in his allegation, a Court of Equity would not require him to pay money to a party who owes him in order to enable him to wage his rights against his debtor.
2. Assuming, as we do, and as, in principle, we have held, that mining claims are real estate within the meaning of the Practice Act defining the venue of civil actions, a demurrer would not be the proper mode to take- advantage of the error in bringing the case in the Court of the wrong county. If this suit had been originally brought in the Fourth District Court, it would not then have been a question of jurisdiction at all— though some dicta, probably, may be found in previous decisions to that effect. District Courts are Courts of general jurisdiction in all matters given them by law, wherever those matters may be locally situated, or wherever the parties may reside; but, for convenience, parties have a right to a trial of particular cases in particular counties. This is a mere privilege, which may be waived by those entitled to it. It must be claimed at the proper time and in the proper way. It is not, by our statute, matter in abatement of the writ, but a mere privilege of trial of the suit in the given county. The party desiring a change of venue should move the Court to change the place of trial, and then the Court, in the proper case, has no discretion to refuse the motion. It seems to be made by the statute a matter, in such cases as this, of peremptory right. We think the Court is not bound, of its own motion, to change the venue, and overrule so far the case of Vallejo v. Randall, (5 Cal. 461,) if that case is to be so construed. It is, however, urged, that the Superior Court of San Francisco had, by the law creating it, only jurisdiction of cases affecting real estate lying within the limits of the city. And so the Act expressly declares; for this is an enabling Act, creating a Court, which owes its whole life and powers to the statute. It has just such jurisdiction as the Act gives—no more. The grant of jurisdiction of cases of real estate in the city is equivalent to an exclusion of jurisdiction over real estate situated any where else. This point arising on the complaint, was so far fatal to it. Indeed, the fact appearing any where on the record would probably be fatal, for the Court had no authority or power over the subject.
*3253. As the parties, plaintiff and defendant, resided in San Erancisco, we do not see why the Superior Court had not jurisdiction of the settlement of this partnership account. But it could not, by its decree, affect the title to this mining claim, or any interest in it, by setting aside the sale or affirming the title of the plaintiff to be untouched by it. Ror was it proper to decree to the plaintiff the real value of the mining claim. The fraud vitiated the sale, but it did not create another sale, or make the defendant take the property at its true value.
The objection, moreover, arose upon demurrer, and, if well taken, the defendant had a right to insist that it should bo passed on correctly before he was put to answer, or stand on his defense. The main and leading object of the bill evidently was to set aside this deed for fraud ; the settlement of the partnership accounts, if not auxiliary to this purpose, was a secondary matter. The averment as to the state of the account, indeed, seems to be incidentally made. We have already seen that the mining claim was beyond the jurisdiction of the Court. The •Superior Court not having jurisdiction, the Fourth District Court, taking the case by operation of law from the former Court, possessed no greater powers in the case than the Superior Court. It did not pretend to act by virtue of its original jurisdiction, but only as the successor of the Superior Court. These views are conclusive of the questions on the record.
As the plaintiff may amend his bill and seems to have a good cause of action in the forum below for a portion of his claim, we reverse the decree and remand the case to be proceeded in according to the principles of this opinion.
Ordered accordingly.