The mayor shall nominate a city attorney, subject to the approval of the city council, together with such assistant city attorneys as may be authorized. In the event that the Mayor has not made a nomination within sixty days of the vacant position, or in the event that the person nominated by the mayor shall not receive approval by a majority of the city council, then any member of the city council may make a motion to approve a city attorney, and the mayor's nomination shall no longer be required. The city council shall provide for the payment of such attorney or attorneys for services rendered to the city. The city attorney shall be responsible for providing 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 of him/her by virtue of his/her position as city attorney.