The owner, lessor, or purchaser at a mortgage foreclosure sale of any tenement or real estate may recover possession thereof from a lessee, occupant, mortgagor, or other person in possession, holding it without right, after notice in writing to quit the same as herein prescribed.
RSA 540:12
RS 209:7. CS 222:7. GS 231:7. GL 250:7. PS 246:7. PL 357 :12. 1939, 53:2. RL 413:12.