The commission 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 commission. 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 commission as directed, shall advise the commissioners 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 of him or her by virtue of his or her position as city attorney. The commission shall provide for the compensation of the city attorney.