§ 4765. Damages; transfer of title pending action
If judgment is rendered for the plaintiff in an action of ejectment, he or she shall recover his or her damages and the seisin and possession of the premises. If the title of the plaintiff expires or is conveyed by him or her after the commencement of such action, the suit shall not thereby fail, but the plaintiff may recover judgment for his or her damages for the detention of the premises during the continuance of his or her title, with costs.