There shall be a Prosecutor of the Village appointed by the Mayor, subject to confirmation by the Council. The Prosecutor shall serve as chief legal adviser for criminal issues to the Council, the Mayor and all Village departments, offices and agencies, shall represent the Village in all criminal legal proceedings and shall perform any other duties prescribed by State law, by this Charter or by ordinance.