The provisions relating to the qualifications, appointment of assistants, prohibition on the private practice of law, compensation, and budget of the solicitor in section 4-47 shall apply to the public defender. Any person appointed public defender shall be appointed to a four-year term of office and shall serve until a successor is duly appointed and qualified in accordance with the provisions of this Act.