the House of Representatives and of unaffiliated members of the upcoming Bangsamoro Parliament can be elected under the second type of special election whenever the predecessor leaves office, except when the next regularly scheduled election is less than a year away. A special election for president and vice president can only be called if both offices are vacant at the same time, and is outside the 18 months prior to the next regularly scheduled presidential election. Replacement of vacancies in legislatures governed by the Local Government Code is done via appointment, and not by special elections. The most recent special election to elect a vacancy to the House of Representatives will be held on February 2023 for Cavite's 7th congressional district. The last special election for the presidency was in 1986. Indirect elections The barangay and SK chairmen, and the city and municipal councilors have a series of indirect elections among themselves to determine their representatives of the local legislature immediately above their level. The barangay SK chairpersons in a city or municipality elect among themselves a president that will sit as an ex officio member of the city or municipal council. The city (if applicable) and municipal SK presidents then elect among themselves a president that will sit in the provincial board as an ex officio member. Finally, provincial and city (which are not under the jurisdiction of a province) chairpersons elect among themselves the SK national federation president that will sit as an ex officio member of the National Youth Commission. The manner of representation of the different barangay chairmen in the municipal, city and provincial legislatures as ex officio members is identical with the way how the SK chairpersons are represented; the provincial and city (which are not under the jurisdiction of a province) chairpersons elect amongst themselves the president of the National League of the Barangays (Liga ng mga Barangay). The city (if applicable) and municipal councilors will vote among themselves which will be their representative to the provincial board. Councilors will also elect among themselves the officers of the Philippine Councilors League. Primary elections Primary elections do not currently exist in the Philippines. The leaders of the various political parties select the candidates themselves, and party membership is liquid. In some cases, if a politician is not chosen to be a candidate, he can join another party (such as Ferdinand Marcos, a Liberal, jumped ship