In case of the consolidation of any cities, or annexation of any city to another city, in which such civil service commission shall exist at the time of the consolidation or annexation, such consolidation or annexation shall not deprive any of said commissioners of his office and compensation for the full term for which he shall have been appointed, unless it extends beyond the time provided hereinafter for the expiration thereof; but, in the meantime, a temporary civil service commission is provided as follows: The civil service commission of each of said cities shall be, and are hereby, consolidated, and shall form one civil service commission, who shall be subject to the provisions of this act, and hold their office until the expiration of the term of the mayor then in office in the consolidated city, or city to which the other city is annexed; when the terms of all shall expire. The successor to the mayor then in office shall, upon his election and upon his taking office, appoint a full board of civil service commissioners under the terms of this act.
53 P.S. § 23462