Any person settled upon the public lands belonging to the United States on which settlement is not expressly prohibited by Congress or some department of the general government may maintain an action for any injuries done the same, also an action to recover the possession thereof in the same manner as if he possessed a fee simple title to said land.
SDCL 43-14-3