The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 22 Local Jurisdiction of Executive Magistrates
(1) Subject to the control of the State Government, the District Magistrate may, from time to time, define the local limits of the areas within which the Executive Magistrates may exercise all or any of the powers with which they may be invested under this Code.
(2) Except as otherwise provided by such definition, the jurisdiction and powers of every such Magistrate shall extend throughout the district.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 16 Local Jurisdiction of Executive
(1) Subject to the control of the State Government, the District Magistrate may, from time to time, define the local limits of the areas within which the Executive Magistrates may exercise all or any of the powers with which they may be invested under this Sanhita.
(2) Except as otherwise provided by such definition, the jurisdiction and powers of every such Magistrate shall extend throughout the district.
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.