4. If the State shall have heretofore granted, or shall hereafter grant, any land which shall have been previously granted by the State to any party, or which shall be possessed by any person in manner provided by section 3 of this Ordinance, and the boundaries whereof shall not have been or shall not be clearly defined in the manner provided by the said section at the time of making such erroneous grant, and if the party to whom any such erroneous grant shall have been made shall have entered upon such land, and shall have clearly defined the boundaries thereof as aforesaid, and remained in undisturbed possession thereof for the space of three years subsequent to the passing of this Ordinance, *Whereparty has had possession for three years of land erroneously granted by the State.* same, the party so in possession shall be entitled to retain the land so cultivated and improved upon payment to the party having a title to the same under the original grant from the State or under any other good and sufficient title, of the value of such land at the time such erroneous grant shall have been made (which value shall be determined, if necessary, by arbitration in manner hereinafter provided): And upon such payment being made to such party, and in consideration thereof, such party is hereby required to execute a good and valid transfer of such land to the party so in possession thereof as aforesaid, and his heirs, upon application by and at the sole cost of the said party so in possession ; and the said party so in possession shall be entitled to recover from the State the amount paid to the State in respect of such erroneous grant.