Whenever any coal, oil, gas, or other mineral lease shall terminate and the lessee, his, her, or their heirs, representatives, successors, or assigns shall refuse, fail or neglect to cause the same to be released of record in the county where such lands are located the lessor or owner of the lands may begin and maintain a civil action for a judgment that the lease has terminated. The recording of a judgment of termination in the office of the recorder of the county wherein are located the lands covered by such terminated lease shall constitute a release of the lease. Upon judgment being rendered that a lease has terminated and that the lessee, his, her or their heirs, representatives, successors, or assigns has not released the same of record within 60 days after notice and demand, the court shall enter judgment against all such persons who shall have failed to release such lease of record for all court costs, litigation expenses, and attorney's fees reasonably incurred by the lessor or owner of the lands or minerals in obtaining the judgment of termination.
765 ILCS 510/2