When a person has made a fence on an inclosure which afterward on making division lines is found to be on the land of another, and the same has occurred through mistake, such first person may enter on the land of the other and remove his fence and material within six months after such line has been run.
765 ILCS 130/16