The city council shall appoint a city attorney who shall be a member of the State Bar of Georgia and shall have actively practiced law for at least one year. The city attorney shall serve at the pleasure of the city council. The city attorney shall be responsible for representing and defending the city in all litigation in which the city is a party, may be the prosecuting officer in the municipal court, shall attend the meetings of the council as directed, shall advise the city council, mayor, and other officers and employees of the city concerning legal aspects of the city´s affairs, and shall perform such other duties as may be required by virtue of the position of city attorney. The city council shall provide for the compensation of the city attorney.