The imprisonment which is imposed in default of payment of a fine shall terminate whenever that fine is either paid or levied by process of law.
Section 68 IPC
Imprisonment to terminate on payment of fine
The Indian Penal Code, 1860 is repealed. It was replaced by The Bharatiya Nyaya Sanhita, 2023 from 1 July 2024; this provision still applies to matters that arose before then.