(a) Functions. — There shall be a Department of Law, headed by a County Attorney which shall perform the following functions:
(1) Provide legal advice to the county government, County Administrator, and all county departments, boards, offices and agencies;
(2) Represent the County in all legal proceedings;
(3) Perform any other duties prescribed by the title or by ordinance of the county government.
(b) Appointment. — The County Attorney shall be appointed by the county government. The County Attorney shall serve at the pleasure of the county government.
(c) Assistant County Attorneys. — The county government shall appoint such Assistant County Attorneys as may be necessary from time to time. The Assistant County Attorneys shall serve at the pleasure of the county government.
(d) Compensation. — The annual salary of the County Attorney and each Assistant County Attorney shall be determined by the county government.
(e) Other employees. — The county government may provide for such employees as may be necessary to perform the functions required by this title. Such employees shall serve at the pleasure of the County Attorney.