How long in Mn does a unlawful detainer stay on your record?

7 Years unless you and your landlord has come to an agreement to exponge the unlawful detainer either before the judge or in written document.