If the owner of a tract of land abutting on a road within this state plans to inclose the tract and constructs a good and sufficient fence about the tract on all sides except along the side abutting the road, the railroad shall supply the landowner with the materials needed to construct a fence not less than four and one-half feet high. If the owner incloses a tract of land with a woven wire fence with wires crossing each other close enough to keep sheep and hogs confined, the railroad shall supply the landowner with the materials needed to construct a like fence along its right-of-way on the side of the tract so far as it extends along the road. The railroad shall maintain or supply the materials to maintain the fence in good repair and condition until released by the owner of the tract, or until the owner of the tract ceases to maintain his portion of the fence in good repair and condition for one year.
SDCL 49-16A-91