If any party having right or claim to lands subject to a proceeding filed pursuant to § 55.1-1419, at any time before the trial in such ejectment, pays to the party entitled to such rent, or to his attorney, or pays into court, all the rent and arrears owed, along with any reasonable attorney fees and late charges contracted for in a written rental agreement, interest, and costs, all further proceedings in the ejectment shall cease. If the person claiming the land is relieved, he is entitled to hold the land in the same manner as he was prior to the commencement of the proceedings, without a new lease or conveyance. If the parties dispute the amount of rent and other charges owed, the court shall take evidence on the issue and make orders for the tender, payment, or refund of any appropriate amounts.
Code 1919, § 5534; Code 1950, § 55-243; 1992, c. 427; 1998, c. 269; 2010, c. 793; 2012, c. 788; 2013, c. 563; 2019, c. 712.