(a) The city shall indemnify all of its elected or appointed officers, agents or employees against any and all legal liability, including, but not limited to, expenses, costs, damages, judgments, fines, settlements, court costs, reasonable attorneys fees, and any other amounts actually and personally incurred in connection with, arising from, growing out of, by reason of or in any way connected with, any acts or omissions of the city, or its officers, agents or employees while acting within the scope of their official duties.
(b) Such indemnification shall extend to any officer, agent or employee of the city who was or is a party, or is threatened to be made a party, to any proceeding by reason of the fact that such person is or was an officer, agent or employee of the city, without regard to the period of time in which such official duties were performed, and without regard to the fact that the performance of such official duties may have been professional in nature.