The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 366 Sentence of death to be submitted by Court of Session for confirmation
(1) When the Court of Session passes a sentence of death, the proceedings shall be submitted to the High Court, and the sentence shall not be executed unless it is confirmed by the High Court.
(2) The Court passing the sentence shall commit the convicted person to jail custody under a warrant.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 407 Sentence of death to be submitted by Court of Session for confirmation
(1) When the Court of Session passes a sentence of death, the proceedings shall forthwith be submitted to the High Court, and the sentence shall not be executed unless it is confirmed by the High Court.
(2) The Court passing the sentence shall commit the convicted person to jail custody under a warrant.
The texts are India Code’s. The amendment markers and footnotes of the official print are left out, so the old section reads as it stood when it was repealed; State amendments are not shown. The PDFs linked below carry the full history.