The mayor and council members shall elect a city attorney who shall act as legal advisor and attorney for the municipality and all its officers and departments in matters relating to their official duties. The city attorney shall be an attorney licensed to practice law in the State of Georgia and a resident of Bryan County, Georgia, or one of the several counties of the State of Georgia adjoining Bryan County.