All sums assessed by the association, but unpaid, for the share of the common expenses chargeble to any townhouse unit shall constitute a lien on such townhouse unit prior to all other liens except (i) tax liens on the townhouse unit in favor of any assessing unit and special district, and (ii) all sums unpaid on a first mortgage of record. Such lien may be foreclosed by suit by the association in like manner as a mortgage of real property, and in any such foreclosure, the townhouse unit owner shall be required to pay a reasonable rental for the townhouse unit, if so provided in the bylaws, and the plaintiff in such foreclosure shall be entitled to the appointment of a receiver to collect the same. The association shall have power, unless prohibited by the declaration, to bid on the townhouse unit at foreclosure sale and to acquire and hold, lease, mortgage and convey the same. The suit to recover a money judgment for unpaid common expenses shall be maintainable by the association without foreclosing or waiving the liens securing the same. Where the mortgagee under a first mortgage of record or other purchaser of a townhouse unit obtains title to the townhouse unit as a result of foreclosure of the first mortgage, such acquirer of title, his or her successors and assigns shall not be liable for the share of the common expenses or assessment by the association chargeable to such townhouse unit which become due prior to the acquisition of title to such townhouse unit by such buyer. Such unpaid share of common expenses or assessments shall, however, be deemed to be common expenses collectible from all of the townhouse owners, including such acquirer, his or her successors and assigns.
K.S.A. 58-3710