¶1The respondent milling company, as defendant in the court below, prior to about the 15th day of July, 1907, owned and maintained a milldam across the Vermillion river at or near the city of Centerville. The appellant, and plaintiff in the circuit court, owned' farm lands abutting on the hanks of said river above said dam. It appears without contradiction that the milldam in question, as originally constructed, was established in 1886 under the provisions of chapter 39, Rev. Code of Civ. Pr. of 1877; that under procedure in the territorial district court the owners of said dam were authorized to construct and maintain ■said dam to a height of ten feet; and that under such procedure damages were assessed and -paid to upstream -owners for all damage caused to their lands toy reason of the construction of said dam. The foregoing facts appear from the pleadings, and there seems to have been no controversy regarding the truth thereof upon the trial. The -plaintiff’s complaint, in substance, contained ■the following allegations: That said dam- was maintained by said defendant, as plaintiff is informed and believes, at a height considerably in excess of 10 feet, causing the waters of die Vermillion river, during a good part of the summer season of 1906, to rise to great height and set back and overflow its banks, flooding about 60 acres of plaintiff’s land, about 30 acres of which was planted to corn, all of which crops were destroyed by said overflow caused b)r said dam so owned and maintained by defendant; that again in the early part of 1907 the said dam caused the said river to set back and again overflow its banks, flooding plaintiff’s lands and destroying about 12 acres of wheat, 22 acres of corn, and 21 acres of grass, to plaintiff’s damage; that but for the maintenance of said dam no part of plaintiff’s land would have been overflowed or submerged by the waters of said river, excepting possibly small portions thereof for brief periods during unusual floods of high water; that about the 15th of July, 1907, the said dam was destroyed by said river, and defendant is proceeding to rebuild the same, and unless restrained will rebuild said dam, and, as plain*4tiff believes, will again set back said river and again overflow and submerge the land's of plaintiff. Plaintiff demanded judgment (i) for money damages; (2) that defendant be restrained and enjoined from erecting said dam, in such manner or to such a height as to cause said river to set back or overflow the lands of' plaintiff; (3) for such other and further relief as may seem just and equitable.
¶2The defendant answered denying- the allegations of the complaint excepting as to such parts thereof thereby admitted. Defendant also pleaded the establishment of said dam under the law authorizing the construction of milldams, the assessment and payment of damages at the time of the establishment thereof, and that defendant hq-cl always maintained said dam- at the height at which it was originally established, except at intervals of high waters certain flashboards were removed for short periods. Defendant also interposed the two-year statute of limitation .provided for in the Mill-dam Act, the ten-year statute of limitations provided for by section. 66, and the six-year statute mentioned in section 60, Code Civ. Pf. The major portion of the testimony submitted on the trial by plaintiff was directed to the question of the height of the maintenance, of- the dam during the years 1906 and 1907. The most stubbornly controverted issue related to- the height at which the dam was maintained during the two years mentioned in the complaint. There was testimony tending to show that for twenty years next preceding 1906 the lands of plaintiff had not (been submerged to- any -appreciable extent; that since the erection of sai-d dam flashboards have been maintained on the top thereof to increase and raise the head or depth of the water above the dam; that in 1903 the height of said flashboards was raised; and- that at the time of the said overflowing of plaintiff’s lands mentioned in the complaint the said dam and flashboards thereon raised said water to a depth of 13.88 feet. The testimony of defendant largely related to- controverting- the testimony of plaintiff tending to show that the -dam had raised the water to a depth of 13.88 feet at or immediately above the dam. Findings and judgment were mode in favor of defendant that plaintiff is estopped to maintain this action by reason of the proceedings had under chapter 39, Code Civ. Pr. of the Territory of Dakota. From these findings and judgment, plaintiff has appealed.
¶3*5
“That said dam was maintained by defendant, as plaintiff is informed and believes, at a height considerably in excess of ten feet, causing the waters of the river to rise to a great height and set back and overflow plaintiff’s land … which destroyed plaintiff’s, crops, caused by said dam so maintaned by defendant.”
¶4Plaintiff’s prayer for relief also-contains the following:
“That defendant be forever restrained and enjoined from erecting and maintaining said dam in such a manner or to such a height as to cause said river to overflow the lands of plaintiff.”
¶5While this complaint is not so specific as. it might have been, yet we are of the view that it fairly indicates that plaintiff was *6proceeding on the theory that the excessive height at which said dam was then toeing maintained was what he claimed to be causing .the injury. If the complaint in this case had been entirely silent on the question of the height of this dam, yet the parties, without objection and toy common consent, litigated and tried out the question of the height of the dam, and were therefore entitled to findings upon -tile questions of fact thus actually litigated on the trial. Winona v. Construction Co., 27 Minn. 415, 6 N. W. 795, 8 N. W. 148; Warner v. Foote, 40 Minn. 176, 41 N. W. 935; Deiber v. Loehr, 44 Minn. 451, 47 N. W. 50; Ahlberg v. Bank, 51 Minn. 162, 53 N. W. 196. In principle the rule as to litigating issues outside the pleadings in equity cases tried before the court, where the nature of the cause of action is not changed, should be the same as in causes triable by a jury. Totten v. Stevenson, 29 S. D. 71, 135 N. W. 715; Bassett v. Fiaren, 61 Minn. 346, 63 N. W. 713.
¶6
¶7
¶8The judgment appealed from1 is reversed, and the cause remanded for further findings of fact as herein indicated, upon the evidence heretofore received before the trial court.