Criminal liability is totally extinguished: 1. By the death of the convict, as to the personal penalties and as to pecuniary penalties, liability therefor is extinguished only when the death of the offender occurs before final judgment. 2. By service of the sentence; 3. By amnesty, which completely extinguishes the penalty and all its effects; 4. By absolute pardon; 5. By prescription of the crime; 6. By prescription of the penalty; 7. By the marriage of the offended woman, as provided in Article 344 of this Code.