Whenever such annexed territory has been erected into and created a ward, or wards, of a city, as hereinbefore provided, it shall be the duty of the court of quarter sessions of the county to make such order or decree as may be necessary to constitute such ward or wards an election district, or election districts, in accordance with the laws of the commonwealth of Pennsylvania now in force for such purposes, and appoint the election officers and place for holding the first election of ward officers and representatives, including an alderman, or aldermen, in such ward or wards, erected and created as hereinbefore provided; and for that purpose may order a special election, if said court shall deem the same necessary, to be conducted in the manner provided by law for conducting municipal elections. The officers elected at such special election shall hold their respective offices until their successors, who are hereby required to be elected at the municipal election held on the third Tuesday of February next succeeding the same, shall be duly qualified.
53 P.S. § 181