Said Commissioners shall have the right to employ an attorney-at-law to be known as the County Attorney, and it shall be the duty of such County Attorney to represent the county in all legal matters in which said county may be interested or concerned; and he shall be the legal adviser of said board and shall attend the meetings of said board when requested. Such attorney shall receive as compensation for his services such sum as may be agreed upon by him and said board.