After the fund set apart by the parish reaches twenty-five thousand dollars, and the fund set apart by the cities reaches twenty-five thousand dollars, the parish and cities shall thereafter no longer continue to set aside the pro rata part of the fines provided for in this Part, but the funds of twenty-five thousand dollars respectively shall be invested as set forth in this Part, and only the yearly interest or revenue shall be expended in carrying out the purpose of this Part.