The Council shall appoint a City Attorney who shall be the legal adviser of the City and all its officers in all matters arising and in which legal proceedings may be taken; he shall prosecute all suits, actions and proceedings instituted on behalf of said City and defend all suits and actions against said City, and, when requested in writing, shall give his written opinion to the Mayor and Council, or any standing committee thereof, upon such legal questions as may be referred to him affecting the City's interest; he shall perform such other duties as may be required. It shall be his duty to attend sessions of the police court, when requested by the Mayor, and prosecute all trials therein and all appeals that are taken from such court, and for his services he shall receive such compensation as the Council shall provide. (Acts 1915, Municipal Charters, ch. 6, Sec. 36; Acts 1933, ch. 125)