Section 165(1)

165. (1) In the case of unsettled land, any person who without valid authority has encroached upon or occupied it shall be liable to ejectment forthwith.