Except as provided in Section 15-1302, from the time a mortgage is recorded it shall be a lien upon the real estate that is the subject of the mortgage for all monies advanced or applied or other obligations secured in accordance with the terms of the mortgage or as authorized by law, including the amounts specified in a judgment of foreclosure in accordance with subsection (d) of Section 15-1603.
735 ILCS 5/15-1301