4. The premises shall be sold to the person offering to take them for
the shortest time, paying the amount unpaid on such judgment and
interest and the expenses of the notice and sale. A certificate of the
sale, signed and acknowledged by the president and secretary of the
board, shall be made and delivered to the purchaser, and may be recorded
as a conveyance of real property, and the purchaser shall thereupon be
entitled to the immediate possession of such premises, and, if occupied,
may maintain an action or proceeding to recover the possession thereof
against the occupant, as against a tenant of real property holding over
after the expiration of his term; and the cost of any such action or
proceeding, if not paid by the occupant, shall also be a lien upon such
premises, having the same preference as the lien of such judgment, and
the right of the purchaser to such premises shall be extended for a
longer term, which shall bear the same proportion to the original term
as the amount of such costs bears to the amount paid by the purchaser on
such sale.
5. The term of the purchaser at any such sale shall commence when he
shall have acquired possession of the premises sold.