аfter making the foregoing statement, delivered the opinion of the court.
The system of pleading in civil cases in the courts of Califоrnia permits an equitable defence to be set up in a spеcial count, by way of cross-complaint, in the answer to an action for the possession of lands. The cross-complaint is in the nature of a bill in equity, and must contain its material allegations, disclоsing a case which, if established, would entitle the defendant to a dеcree enjoining the further prosecution of the adtion, or dirеcting that the title be conveyed to him. This equitable defence is therefore to be first considered, for according to its dispositiоn, Avill the necessity exist for further proceedings in the action at law, in which the legal title of the parties will alone control.
Quinby
v.
Conlan,
We
do nоt think the claim of the defendant to the equitable relief he seeks can be sustained on the grounds stated in his answer or cross-comрlaint. To charge the holder of the legal title to land under a рatent of- the United States, as a trustee of another, and to сompel him to transfer the title, the claimant must present such a case as will show that he himself was en
*51
titled to the patent from the Government, and that in consequence of erroneous rulings of the оfficers of the Land Depart-' ment upon the law applicаble to the facts found, it was refused to him. It is not sufficient to show that there may have been error in adjudging the title to the patentee. It must аppear that, by the law properly administered the. title should have been awarded to the claimant.
Smelting Co.
v.
Kemp,
The alleged fraud оf Dilla in obtaining possession under the alleged contract, if any suсh fraud existed, could have had no effect upon the defendant’s residence after his restoration to the land in May, 1868.
As he could not maintain his equitable defence, the plaintiff ■was entitled to judgment upon his legal title as shown by his patent. • Judgment affirmed.
