When by virtue of the foregoing provisions any county shall have paid into the state treasury the full amount of state tax levied for any particular year, all moneys thereafter collected on such tax shall be applied to the payment of any state tax theretofore levied and unpaid, and any balance remaining shall be applied to the payment of the state tax for succeeding years.
K.S.A. 79-2918