In all cases where, heretofore or hereafter, real estate shall have been or shall be purchased at tax sale by a county, it shall be lawful for the county commissioners in their discretion, to permit a redemption of said real estate, or part thereof, so long as the title thereto remains in the county, notwithstanding the period during which the right of redemption existed shall have expired; provided all taxes with interest and costs due thereon, but less any penalties, shall be paid.
72 P.S. § 5879