Upon the annexation of the whole of a municipality to another municipality, all policemen and firemen lawfully in the employ of the annexed municipality shall be transferred to and become a part of the police department and fire department, respectively, of the annexing municipality.
65 ILCS 5/7-1-23