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