The appellant is the owner of a lot of land situate on the westerly side of South Salina street, a public highway in the city of Syracuse, a correct description of which is set out in the complaint and admitted in the answer.
The complaint alleges that South Salina street in front of said premises is and for more than one hundred years prior to the commencement of the action has been a public highway ninety-nine feet in width, dedicated to the use of the public for street purposes, and is one of the public streets of the city; that plaintiff is and at all times mentioned has been the owner in fee of South Salina street adjoining appellant's lot on the east, or the fee thereof has been in the people of the state of New York and plaintiff holds the same in trust for the use of the public; that it is its duty to keep the streets within its borders free from obstructions and cause the removal therefrom of all encroachments thereon, and that ordinances have been passed for that purpose; that on the 1st of December, 1913, appellant wrongfully and unlawfully took from one Church and wife a deed purporting to convey to him a strip of land twenty-nine feet in South Salina street adjoining his said premises on the east and extending *Page 460 along the entire South Salina street front of appellant's lot, to which the grantors in said deed had no title; that appellant now asserts and claims title to said strip and has incumbered the same with permanent buildings and structures. Then follow allegations to the effect that the maintenance of such buildings and structures is illegal and unauthorized; that plaintiff has demanded that the same be removed, but that the appellant has neglected and refused to comply with such demand; and that other defendants have certain interests in said premises, either as tenants or mortgagees. The judgment demands, with other things, that appellant be perpetually enjoined and restrained from further maintaining said building and encroachments and that he be ordered and directed forthwith, at his own expense, to remove the same and restore the street and sidewalk in front of said premises to the condition they would be in if said buildings and encroachments were not thereon; that in case appellant fails in this respect that plaintiff be authorized to do so at his expense; that the deed from Church and wife to the appellant and the mortgages held by other defendants thereon be amended and reformed so as to exclude therefrom the strip in question.
The answer of the appellant, after admitting the ownership of the lot described in the complaint alleged to be owned by him, denied its other material allegations as to plaintiff's title in the strip of land conveyed to the appellant by Church and wife, and alleged that the appellant's grantors had a good title to said strip which they conveyed to him. The answer also set up as an affirmative defense that for a period of sixty-five years or more prior to the commencement of the action the appellant and his grantors and predecessors in title have been in possession of said twenty-nine-foot strip and have been in exclusive possession, control and occupancy thereof, and that their title thereto has not, until the commencement of this action, been disputed or questioned by the plaintiff. *Page 461 The Statute of Limitations is also pleaded and other defenses, which it is unnecessary here to set forth.
After issue had been joined the plaintiff put the action on the Special Term calendar for trial. The appellant moved to have the same stricken therefrom, on the ground that it had been improperly placed thereon, since he, as a matter of right, was entitled to a jury trial. His motion was denied and then an appeal was taken by him to the Appellate Division, where the order was unanimously affirmed. Leave, however, was given to appeal to this court and the following question certified: "Are the defendants entitled to a trial by jury as a matter of right?"
If the appellant were entitled to have the issues tried by a jury as a matter of right, then the order appealed from is wrong and should be reversed; otherwise, it should be affirmed. The joinder of equitable causes of action with others purely legal does not deprive a defendant of the right of a trial by jury. (Bradley v. Aldrich, 40 N.Y. 504, 511.) An analysis of the complaint and answer indicates as it seems to me, as clearly as words can, that the main issue to be tried is the title to the twenty-nine-foot strip. The plaintiff alleges it has title and its right to immediate possession. Appellant denies that plaintiff has title and alleges he has the title and that he is rightfully in possession. The fact that plaintiff has, as an incident to the main question to be determined, asked for equitable relief, does not change the form of the action. The court looks to substance and not to form. It determines from the allegations of the complaint and answer the issue to be tried. The form of the action, however it may be disguised by words, allegations or the prayer for judgment, will not be permitted to mislead the court or divert its attention from the main issue to be determined. The prayer for judgment is not decisive and does not control the nature of the action. (Wright v. Wright,54 N.Y. 437; Williams v. Slote, 70 N.Y. 601; Wetmore v.Porter, 92 N.Y. 76; Leary v. Geller, 224 N.Y. 56.) *Page 462
No matter what may be said, the action is to determine and settle the title to the twenty-nine-foot strip. This being so, the action is brought within the statutory definition of an action in ejectment, which is, "An action to recover the immediate possession of real property." (Code of Civil Procedure, sec. 3343, subd. 20; Civil Practice Act, sec. 7, subd. 8.) The action being in ejectment the appellant had a legal right to have the issues tried by a jury. The statute so provides. (Code of Civil Procedure, sec. 968, subd. 2; Civil Practice Act, sec. 425, subd. 2.) The Constitution provides that the right of trial by jury in all cases in which it has been heretofore used shall remain inviolate. (Art. 1, sec. 2.) An action to recover the possession of land, where the title thereto is disputed, has, so far as I am aware, always been triable by a jury and a defendant cannot be deprived of that right by allegations in a complaint that the plaintiff, if he establishes his title, is entitled to certain equitable relief. (Bryan v. McGurk, 200 N.Y. 332,337.) If the plaintiff succeeds upon the trial in establishing its title to the land in question, then the deed from Church and wife, and the mortgages given upon such strip, necessarily fall. In that event it requires no judicial decree to bring about such result. The judgment awarding plaintiff possession and decreeing that it has title is all that is necessary.
It is contended that the real issue between the parties is the true location of the boundary line between adjoining owners, that is, between South Salina street and appellant's lot. But assuming this to be so, it does not deprive the defendant of a jury trial. This court stated in Leprell v. Kleinschmidt (112 N.Y. 364) that it was not aware of any rule by which a dispute as to the true location of a boundary line between adjoining owners did not involve a question of title to real estate or constitute an exception to the characteristics of an action of ejectment or the remedies which that action affords. *Page 463
It is suggested that the plaintiff cannot recover in this action all the relief to which it is entitled if it be held that it is in ejectment. I do not think this follows. The statute provides that: "In an action to recover real property, or the possession thereof, the plaintiff may demand in his complaint, and in a proper case recover, damages for withholding the property." (Code of Civil Procedure, secs. 1496, 1497; Civil Practice Act, sec. 990.) If there be involved in such action the expense of abating a nuisance or the removal of incumbrances, then the expenses of such abatement or removal, if proper allegations be inserted in the complaint, may be recovered (Code of Civil Procedure, secs. 1660-1662; Real Property Law [Cons. Laws, ch. 50], sec. 529) and the judgment may be enforced by execution. (Code of Civil Procedure, sec. 1240; Civil Practice Act, sec. 504.) If it cannot be enforced by execution, then the defendant may be punished for contempt in refusing to comply with the judgment. (Code of Civil Procedure, sec. 1241; Civil Practice Act, sec. 505.)
The Supreme Court has general jurisdiction in law and in equity and now there is only one form of a civil action. The distinction between actions at law and suits in equity and the forms of those actions has been abolished. (Code of Civil Procedure, sec. 3339; Civil Practice Act, sec. 8.) The court has jurisdiction in an action of ejectment to award the plaintiff all the relief to which it is entitled. It can settle the title to the piece of land in dispute and if a conclusion be reached that the plaintiff is the owner and entitled to possession, it can, as incidental to such judgment, award such damages against defendant as will compensate the plaintiff for being kept out of possession, as well as for the expenses in removing encroachments upon such property and restoring it to such condition as it would have been if defendant had not wrongfully taken possession thereof.
The order appealed from, therefore, should be reversed *Page 464 and the motion to strike the cause from the Special Term calendar granted, with costs in all courts. The question certified is answered in the affirmative.