8. It will be convenient at this stage to refer to some other provisions which have bearing in the matter and are relevant for the purpose of these appeals. Section 2(u) of the Code of Criminal Procedure, 1973 (for short, ‘Cr.P.C.’) defines ‘Public Prosecutor’ to mean any person appointed under Section 24 and includes any person acting under the directions of a Public Prosecutor. Section 24 deals with ‘Public Prosecutors’. It reads as under:
from the panel of names prepared by the District Magistrate under sub-section (4).  Explanation - For the purposes 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, appointed to perform the functions of a Public Prosecutor, an Additional Public Prosecutor or an Assistant Public Prosecutor under this Code.  (7) A person shall be eligible to be appointed as a Public Prosecutor or an Additional Public Prosecutor under sub-section (1) or sub-section (2) or sub-section (3) or sub-section (6), only if he has been in practice as an advocate for not less than seven years.  (8) The Central Government or the State Government may appoint, for the purposes of any case or class of cases, a person who has been in practice as an advocate for not less than ten years as a Special Public Prosecutor: "Provided that
11. Section 2(7) of the Code of Civil Procedure, 1908 (for short, ‘CPC’) defines ‘government pleader’. According to this provision, ‘government pleader’ includes any officer appointed by the State Government to perform all or any of the functions expressly imposed by the CPC on the government pleader and also any pleader acting under the directions of the government pleader.
23. Mr. P.P. Rao, learned senior counsel who led the arguments on behalf of the appellants, argued that Article 233(2) of the Constitution is a self-contained Code. Service of a Public Prosecutor or an Assistant Public Prosecutor or a Government Pleader does not render a person ineligible for appointment as a District Judge if he has been for not less than seven years an advocate or a pleader. According to him, it is open to the State to appoint a Government Pleader in terms of Section 2(7) of C.P.C. for conducting civil cases and Public Prosecutors under Section 24 of Cr.P.C. for criminal cases on mutually agreed terms, either on a case to case basis or piece-rate basis for each item of work done or on a tenure basis or on a permanent basis. Though called ‘appointment’, it is in reality and in substance an engagement of an advocate for conducting cases in courts. Advocates with experience are only eligible