If the whole or a part of a municipality is annexed to another municipality, all municipal officers, exercising power or authority over the annexed territory before annexation, whether or not the terms for which they have been elected have expired, shall cease to exercise power or authority over the annexed territory. The power and authority of all officers of the annexing municipality shall extend over the territory annexed, immediately upon annexation.
65 ILCS 5/7-1-45