Section 24(6) in The Code of Criminal Procedure, 1973
(6)Notwithstanding anything contained in sub-section (5), where in a State there exists a regular Cadre of Prosecuting Officers, the State Government shall appoint a Public Prosecutor or an Additional Public Prosecutor only from among the persons constituting such Cadre :Provided that where, in the opinion of the State Government, no suitable person is available in such Cadre for such appointment that Government may appoint a person as Public Prosecutor or Additional Public Prosecutor, as the case may be, from the panel of names prepared by the District Magistrate under sub-section (4).[Explanation. - For the purpose of this sub-section, -(a)"regular Cadre of Prosecuting Officers" means a Cadre of Prosecuting Officers which includes therein the post of a Public Prosecutor, by whatever name called, and which provides for promotion of Assistant Public Prosecutors, by whatever name called, to that post;(b)"Prosecuting Officer" means a person by whatever name called, appointment to perform the functions of a Public Prosecutor, an Additional Public Prosecutor or an Assistant Public Prosecutor under this Code.]