The city council shall appoint a city attorney, together with such assistant city attorneys as may be authorized, 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 providing for the representation and defense of 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 city 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 such person's position as city attorney. The city council shall provide for the compensation of the city attorney together with such assistant city attorneys as may be authorized.