Members of 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.