delivered the opinion of the Court:
This was a proceeding in the county court of Cook county, instituted by the Chicago, St. Louis and Western Railroad Company, to condemn certain lands for right of way. The petition was filed on the 30th day of September, 1882, and William B. .Gates, with others, was made a defendant to the petition. Among the lands sought to be condemned "was a strip sixty-six feet wide, over and across a part of the west half of the south-west quarter of section 35, township 39, range 13, in Cook county, lying north of the Illinois and Michigan Canal. This tract was owned by Gates, and he appeared, and filed a cross-petition, in which he alleged that the taking of the strip would damage the rest of the land, and he prayed that such damages might be ascertained. The damages sustained to lands belonging to other parties embraced in the petition seem to have been adjusted, and they are not involved in this record, but no action seems to have been had in regard to Gates’ land until May, 1886, when the petition was set down for trial on the 14th day of June, following. On June 14, the trial was postponed until June 29, when it was again postponed until July 6. On the day named, the petitioner appeared, and filed a motion, in writing, requesting that George H. Ward and Mary A. Ward be made parties to the proceeding. The court denied the motion, and the decision is relied upon as error.
There is no doubt but it is the duty of the court to allow amendments in a proceeding of this character, when amend*90ments may be necessary to bring all parties before the court who may have an interest in the premises sought to be condemned. . But the petitioner did not show that' the Wards had any interest in the property, and the proof heard by the court, on the question was ample to establish the fact that they had no interest. Under such circumstances, the court very properly refused to delay a trial of the- cause to enable persons having no interest in the premises to be made parties to the proceeding. Amendments are not made, as a matter of course, on the eve of a trial, on the motion of a party. If they were, the trial of a cause might be delayed almost indefinitely. Here, the case had been pending several years, and if the Wards had an interest in the property, the petitioner had ample time, before the cause was set for trial, to ascertain that fact and bring them into court.
When the cause was called for trial, and before a jury was impaneled, the petitioner entered a motion to dismiss the entire proceeding. This motion was overruled by the court,, and petitioner excepted. In actions at law, the general rule is, that a plaintiff may, if he desires, dismiss his action at any time before a trial. We are aware of but one exception to this rule, and that is, where a plea of set-off is interposed to .an action on a contract. In such a case, section 31 of the Practice act forbids a dismissal by the plaintiff. That section of the statute, however, has no bearing on a case of this character. It appears from the record, that after the petition was filed, the petitioner, without the consent of Gates, the-owner of the premises, took possession, of the property described in the petition, and was in possession at the time the motion to dismiss was made and decided, and it is claimed that the-railroad company can not hold possession of the property, and refuse to go on with the proceeding to condemn. It is a plain proposition that the railroad company had .no right to the possession-of the property until the damages for taking had.been assessed and paid, and when it went into *91the possession it was a trespasser, and the owner, Gates, had a right to bring ejectment or trespass, or both, and recover his property, and such damages as he may have sustained by the unlawful act of the petitioner. But we are unable to see how the unlawful act of the petitioner would deprive it of the right to dismiss its suit to condemn, if it saw proper to pursue that course. The law affords the land owner a complete remedy to regain his property, at any time he may see proper to invoke" its aid. Importance seems to be attached to' the fact that the land owner had filed a cross-petition to recover damages to property not actually taken. But the cross-petition must fall with the petition. The statute has made no provision that a petition shall not be dismissed where a cross-petition has been filéd, and in the absence of a statute, we are aware of no authority for establishing a rule of that character. Had the rights of the parties,—the petitioner and the land owner,—become fixed by the proceedings which had been instituted, a different question might arise; but such was not the case. The filing of the petition conferred no rights in the land sought to be taken, on the railroad company, except the bare right to proceed and condemn. The taking possession conferred no rights, as that was a mere trespass; nor did the land owner acquire' any vested right in what had been done, which would entitle him to compel petitioner to proceed with the petition and assess the damages, if the petitioner saw proper to abandon the proceeding.
In Schreiber v. Chicago and Evanston Railroad Co. 115 Ill. 340, we had occasion to consider the relative rights of the parties in a proceeding of this character, and we there held, until the compensation awarded the owner of property sought to be appropriated to public use is actually paid, the petitioner has no right to enter upon the premises, and the land owner has no right to the compensation. Until this is done, the party seeking condemnation may abandon the location and select another. Until paid, the owner may do any act *92with his property he pleases, not materially affecting the proceeding and object sought to be accomplished thereby. If the land .owner, had no vested right in the proceeding when the motion was maele to dismiss, as it seems clear he had not, then it follows that the petitioner had the right, if he saw proper, to abandon the condemnation of the property and dismiss the .proceeding.
As the court erred in denying the motion to dismiss, .the judgment will be reversed, and the cause remanded.
Judgment reversed.
Mr. Justice Magruder: I do not concur in this opinion.