Except as provided in Section 13-107.1, actions brought for the recovery of any lands, tenements or hereditaments of which any person may be possessed by actual residence thereon for 7 successive years, having a connected title, deductible of record, from this State or the United States, or from any public officer or other person authorized by the laws of this State to sell such land for the non-payment of taxes, or from any sheriff, marshal, or other person authorized to sell such land for the enforcement of a judgment or under any order or judgment of any court shall be brought within 7 years next after possession is taken, but when the possessor acquires such title after taking such possession, the limitation shall begin to run from the time of acquiring title.
735 ILCS 5/13-107