A. No landlord may demand or receive a security deposit, however denominated, in an amount or value in excess of two months' periodic rent. Upon termination of the tenancy or the date the tenant vacates the dwelling unit, whichever occurs last, such security deposit, whether it is property or money held by the landlord as security as provided in this section, may be applied by the landlord solely to (i) the payment of accrued rent, including the reasonable charges for late payment of rent specified in the rental agreement; (ii) the payment of the amount of damages that the landlord has suffered by reason of the tenant's noncompliance with § 55.1-1227, less reasonable wear and tear; (iii) other damages or charges as provided in the rental agreement; or (iv) actual damages for breach of the rental agreement pursuant to § 55.1-1251. The security deposit and any deductions, damages, and charges shall be itemized by the landlord in a written notice given to the tenant, together with any amount due to the tenant, within 45 days after the termination date of the tenancy or the date the tenant vacates the dwelling unit, whichever occurs last. As of the date of the termination of the tenancy or the date the tenant vacates the dwelling unit, whichever occurs last, the tenant shall be required to deliver possession of the dwelling unit to the landlord. If the termination date is prior to the expiration of the rental agreement or any renewal thereof, or the tenant has not given proper notice of termination of the rental agreement, the tenant shall be liable for actual damages pursuant to § 55.1-1251, in which case, the landlord shall give written notice of security deposit disposition within the 45-day period but may retain any security balance to apply against any financial