Elections · Sabah

9–12 May 2018 · Reviewed 4 October 2026

2018 Sabah State Election: 29–29 Result and Government Change

BN and Warisan–PH each won 29 of Sabah’s 60 seats in 2018, leaving STAR with two. See the results, government switch and court dispute.

Portrait of Warisan president Shafie Apdal in 2018
Andy Lee T. C · CC BY 3.0 / Wikimedia Commons
29
BN seats
29
Warisan–PH seats
2
STAR / USA seats
77.6%
Voter turnout

The short answer

Sabah’s 2018 election ended with BN and the Warisan–PH side tied at 29 seats each, leaving STAR’s two representatives to determine the first government. STAR support allowed Musa Aman to be sworn in, but six BN-winning members then shifted support and Shafie Apdal was appointed two days later. The result ended fifteen years of Musa’s leadership and opened Sabah’s modern era of competitive coalition politics.

Results at a glance

Seats won in the 2018 Sabah election

Warisan was the largest party, but neither its cooperation with PH nor BN reached the 31 elected seats required for a majority. STAR’s two seats initially broke the tie.

2018 Sabah State Legislative Assembly election results by winning party, 60 elected seats.
PartySeats wonShare of 60 seatsChange from 2013
Warisan2135.0%New party
UMNO / BN1728.3%−14
PBS / BN610.0%−1
DAP / PH610.0%+2
UPKO / BN58.3%+1
PKR / PH23.3%−5
STAR / United Sabah Alliance23.3%+1
PBRS / BN11.7%No change

Chronology

A timeline of the turning points

  1. Shafie Apdal breaks with UMNO and founds Warisan

    The former federal minister built a Sabah-based multiracial party after his removal from the cabinet and departure from UMNO.

  2. The Sabah assembly is dissolved

    The state poll was scheduled alongside Malaysia’s fourteenth general election.

  3. Candidates are nominated

    BN defended all 60 seats while Warisan cooperated with Pakatan Harapan and multiple regional parties contested independently.

  4. The election produces a 29–29 split

    BN won 29 seats; Warisan and PH won 29 between them; the STAR-led United Sabah Alliance won the remaining two.

  5. STAR supports a BN-led government

    Jeffrey Kitingan and Robert Tawik supplied the two seats that gave Musa Aman declarations of support from 31 assembly members.

  6. Musa Aman is sworn in

    The Yang di-Pertua Negeri appointed Musa at about 11 p.m. and swore in his cabinet immediately afterwards.

  7. Six BN-winning members shift support

    Statutory declarations from two UPKO and four UMNO assembly members gave Shafie’s bloc a 35-seat elected majority.

  8. Shafie Apdal becomes chief minister

    After concluding that Musa no longer commanded majority confidence, the state head appointed Shafie at about 9 p.m.

  9. The Warisan-led cabinet is appointed

    The official gazette lists ministers drawn from Warisan, PH and UPKO, including three deputy chief ministers.

  10. The assembly is dissolved

    A new defection crisis led Shafie to seek dissolution, ending the legislature and triggering the 2020 state election.

Who won the 2018 Sabah state election?

No party or pre-election bloc won the 31 elected seats required for a majority. Barisan Nasional finished with 29 seats, while the electoral cooperation between Warisan and Pakatan Harapan also produced 29. The STAR-led United Sabah Alliance won the final two seats and therefore held the immediate balance of power.

Warisan was the largest individual party with 21 seats. DAP won six and PKR two under the PH banner, taking their combined side to 29. BN’s 29 consisted of seventeen UMNO, six PBS, five UPKO and one PBRS representative.

The election result and the government that emerged must therefore be distinguished. The ballot created a hung 60-member assembly; negotiations and changes of allegiance over the next three days determined who could demonstrate majority confidence to the Yang di-Pertua Negeri.

How did the vote divide between the main blocs?

ElectionData records 42.1 percent of valid votes for BN, 32.1 percent for Warisan and 15.0 percent for PH. Combined, Warisan and PH received about 47.1 percent. The STAR-led United Sabah Alliance received 7.6 percent and won Tambunan and Bingkor.

Turnout was approximately 77.6 percent from an electorate of more than 1.1 million. The close seat result did not mean that every constituency was close: DAP won several urban seats by large margins, while decisive rural and interior contests were often multi-cornered and much tighter.

First-past-the-post converted the two leading sides’ different geographic coalitions into exactly 29 seats each. Warisan–PH led the vote count but did not reach an elected majority, while BN remained competitive enough across rural, west-coast and interior constituencies to match its opponent’s seat total.

How did Warisan change Sabah’s electoral map?

Warisan had been founded less than two years before polling, but Shafie Apdal brought a long parliamentary base in Semporna, federal cabinet experience and networks from his earlier career in Sabah UMNO. The party presented itself as a multiracial regional vehicle rather than a component of a peninsula-led coalition.

Its strongest advance came along Sabah’s east coast, where research published in How Malaysia Voted in 2018 calculated a roughly 23-point rise for the Warisan–PH side compared with Pakatan Rakyat’s 2013 performance. Warisan also moved into west-coast and interior contests through former UMNO and opposition organisers.

The campaign joined state-rights and development arguments to national dissatisfaction over 1MDB, living costs and Najib Razak’s government. Shafie won Senallang by 5,301 votes, while Warisan took 21 of the 45 constituencies it contested and became the assembly’s largest party.

Why did BN fall from 48 seats to 29?

UMNO fell from 31 seats in 2013 to seventeen, the largest single component of BN’s nineteen-seat decline. PBS won six, UPKO five and PBRS one; LDP, Gerakan and MCA failed to win a seat.

Shafie’s departure divided the Muslim-bumiputera base that had helped sustain BN, particularly in eastern Sabah. DAP retained an urban advantage with six of the seven seats it contested, and PKR added two seats to the Warisan–PH total.

Several BN figures still won convincingly. Hajiji Noor retained Sulaman by 7,774 votes and Masidi Manjun kept Karanaan by 3,782. Musa Aman retained Sungai Sibuga, but his majority fell to 2,184—far below the 11,569 margin recorded in 2013.

How did STAR become the kingmaker?

Jeffrey Kitingan moved from Bingkor to Tambunan and won by 1,037 votes. Robert Tawik captured Bingkor by only 165. Those two victories were enough to decide which 29-seat bloc could first claim majority support.

STAR chose to support Musa and BN. The Federal Court’s later account of the dispute records that the agreement produced declarations from 31 of the 60 elected assembly members, the minimum needed for a majority.

The decision made STAR pivotal but did not produce a durable government. Its leverage depended on the original 29–29 balance; when six representatives elected under BN shifted their support, the arithmetic moved beyond STAR’s ability to preserve Musa’s majority.

Why was Musa Aman sworn in on 10 May?

Under Article 6(3) of the Sabah Constitution, the Yang di-Pertua Negeri appoints as chief minister the assembly member judged likely to command the confidence of a majority. With BN’s 29 and STAR’s two, Musa presented support from 31 elected members.

The state head swore Musa in at approximately 11 p.m. on 10 May and then appointed the cabinet on Musa’s advice. This ended the first phase of the hung-assembly negotiations and, at that moment, established a BN–STAR administration.

Musa also advised the appointment of six nominated assembly members, but the state head did not execute those instruments. Nominated members were not needed to prove the original 31-seat elected majority, yet the disagreement later became one element of Musa’s constitutional case.

How did the majority change within two days?

The arrangement changed when six members elected under BN—two from UPKO and four from UMNO—declared support for Shafie. That moved the Warisan–PH side from 29 to 35 elected supporters and reduced the group behind Musa below the majority line.

The state head met the assembly members and received statutory declarations. The later High Court record held that these declarations could provide evidence of lost confidence outside a formal vote on the assembly floor.

Sabah’s party system was already fluid, and the federal transfer to a PH government altered the incentives facing component parties and individual representatives. The episode nevertheless remained constitutionally contentious because Musa had been validly appointed only two days earlier and did not tender a resignation.

Why was Shafie Apdal appointed on 12 May?

On the morning of 12 May, the Yang di-Pertua Negeri asked Musa to resign after concluding that he no longer commanded majority confidence. Musa refused. At about 9 p.m., the state head swore in Shafie under Article 6(3), read with the constitutional power governing the appointment of the chief minister.

The Sabah State Gazette formally records Shafie’s appointment with effect from 12 May 2018. On 16 May, a cabinet was appointed with Wilfred Madius Tangau, Christina Liew and Jaujan Sambakong as deputy chief ministers, alongside ministers from Warisan, PH and UPKO.

The transfer ended Musa’s fifteen-year administration and gave Sabah its first change of government since the 1994 PBS collapse. Unlike the 1994 episode, however, the 2018 transition occurred at the same time that BN lost federal power for the first time.

What did the courts decide about the transition?

Musa challenged Shafie’s appointment. The High Court held that no assembly vote was constitutionally mandatory where other properly established evidence showed that the chief minister had lost majority confidence. It treated Musa as having vacated office after he declined to resign and found Shafie’s appointment lawful.

The Court of Appeal later treated the dispute as academic after evidence showed that Musa no longer had majority support. Federal Court proceedings over leave to appeal produced divided reasoning, and the 2020 dissolution further limited any practical remedy.

The litigation remains important because it documents the exact 29–29–2 result, the STAR agreement, both swearing-in ceremonies and the role of the six statutory declarations. It also shows why an election result and constitutional government formation are related but legally distinct questions.

What was the longer-term impact of the 2018 result?

The election ended BN’s long state dominance and established Warisan as a major Sabah party. It also accelerated the collapse of the old BN component structure: PBS and PBRS left the coalition, while Sabah UMNO leaders later moved into Bersatu or reorganised their alliances.

Shafie governed in alignment with the PH federal administration until the 2020 national realignment. When another group of assembly members shifted support, he obtained a dissolution on 30 July 2020 rather than surrendering the government without an election.

The snap poll that followed produced a different coalition system and brought Hajiji Noor to office. The 2018 contest therefore marks both the end of Musa’s long era and the beginning of Sabah’s continuing period of competitive, regionalised and frequently shifting coalition politics.

Continue the chronology

Biography context

Explore Sabah, Malaysia through connected lives

Connected biographies

Twelve biographies connected to the 2018 election

Portrait of Parti Warisan president Shafie Apdal in 2018
MalaysiaPolitics

1956—

Shafie Apdal

President of Parti Warisan and Member of Parliament for SempornaThe Semporna parliamentarian, former federal minister and Warisan founder who led Sabah from 2018 until the 2020 state election.Read biography
Musa Aman speaking while serving as chief minister of Sabah
MalaysiaPolitics

1951—

Musa Aman

Yang di-Pertua Negeri of SabahThe former Sungai Sibuga assemblyman who led Sabah for fifteen years, contested the 2018 transition and returned as Yang di-Pertua Negeri.Read biography
Portrait of Sabah STAR president Jeffrey Kitingan
MalaysiaPolitics

1948—

Jeffrey Kitingan

President of STAR and Member of Parliament for KeningauThe Keningau MP, Tambunan assemblyman and STAR founder whose long career centres on Sabah autonomy, MA63 and Indigenous political representation.Read biography
Portrait of Sabah politician Wilfred Madius Tangau
MalaysiaPolitics

1958—

Wilfred Madius Tangau

Member of Parliament for Tuaran and Assemblyman for TamparuliThe forester and development researcher who became a long-serving Tuaran MP, led UPKO and won a second elected mandate in Tamparuli in 2025.Read biography
Portrait of Ewon Benedick during a ministerial meeting in 2023
MalaysiaPolitics

1983—

Ewon Benedick

Deputy Chief Minister of Sabah and President of UPKOThe Penampang MP and Kadamaian assemblyman who leads UPKO and became Sabah’s Deputy Chief Minister III after the 2025 state election.Read biography
Portrait of Sabah Chief Minister Hajiji Noor in 2024
MalaysiaPolitics

1955—

Hajiji Noor

Chief Minister of Sabah and Chairman of Gabungan Rakyat SabahThe long-serving Sulaman assemblyman who became Sabah chief minister in 2020 and won a second term at the 2025 state election.Read biography
Portrait of Sabah Deputy Chief Minister Masidi Manjun in 2017
MalaysiaPolitics

1950—

Masidi Manjun

Deputy Chief Minister and Finance Minister of SabahThe lawyer and former public administrator who has represented Karanaan since 2004 and now serves as Sabah’s Deputy Chief Minister II and finance minister.Read biography
Portrait of former PBS president Maximus Ongkili
MalaysiaPolitics

1953—

Maximus Ongkili

Chairman of the Energy Commission of Sabah and former PBS PresidentThe researcher-turned-politician who represented Sabah in Parliament for twenty-seven years, led several federal ministries and became PBS’s second president.Read biography
MalaysiaPolitics

1958—

Joachim Gunsalam

Deputy Chief Minister of Sabah and President of PBSThe physician and six-term Kundasang assemblyman who rose through PBS, entered Sabah’s senior cabinet and became the party’s third president.Read biography
Joseph Pairin Kitingan at the 2014 Kaamatan festival
MalaysiaPolitics

1940—

Joseph Pairin Kitingan

Founder of PBS and former Chief Minister of SabahThe lawyer and Kadazandusun leader who founded PBS, led four consecutive state-election victories and served as Sabah’s chief minister for nearly nine years.Read biography
Mahathir Mohamad speaking at Chatham House in 2018
MalaysiaPolitics

1925—

Mahathir Mohamad

Fourth and seventh Prime Minister of MalaysiaA physician-politician whose two premierships—separated by fifteen years—made him the longest-serving and one of the most consequential leaders in Malaysian history.Read biography
Najib Razak at a joint press briefing in 2015
MalaysiaPolitics

1953—

Najib Razak

Sixth Prime Minister of MalaysiaA political heir who led Malaysia for nine years before an historic election defeat and convictions in the SRC International and main 1MDB cases.Read biography

Quick answers

Common questions

When was the 2018 Sabah state election held?
Polling took place on 9 May 2018 alongside Malaysia’s fourteenth general election.
How many seats did BN win in Sabah in 2018?
BN won 29 of the 60 elected state constituencies.
How many seats did Warisan and PH win?
Warisan won 21, DAP six and PKR two, giving the cooperating Warisan–PH side 29 seats.
Why was STAR called the kingmaker?
STAR’s two winners initially supported BN, turning BN’s 29 seats into a 31-member majority behind Musa Aman.
Why were two chief ministers sworn in?
Musa Aman was appointed on 10 May with 31 declared supporters. Six BN-winning assembly members then supported Shafie Apdal, who was appointed on 12 May after the state head concluded that Musa had lost majority confidence.
Who became chief minister after the transition?
Shafie Apdal became chief minister with effect from 12 May 2018, as recorded in the Sabah State Gazette.
What was voter turnout?
ElectionData records 866,725 voters and turnout of approximately 77.6 percent.
Did the court uphold Shafie Apdal’s appointment?
The High Court dismissed Musa Aman’s challenge and held that Shafie’s appointment was lawful. Later appellate proceedings were affected by the dispute becoming academic.

Primary and institutional sources

How this history was checked

ElectionData establishes the ballots, turnout and seat totals; the Sabah Gazette records Shafie Apdal’s appointment and cabinet; the Federal Court judgment documents the constitutional chronology; academic and legal studies explain the vote shift and contested transfer. This article was reviewed on 4 October 2026.

  1. Election Commission of Malaysia, Sabah OfficeDates of Parliamentary and State Elections in Sabah
  2. ElectionData.mySabah 2018 State Election Results
  3. Sabah State GazetteAppointment of Shafie Apdal as Chief Minister, 12 May 2018
  4. Federal Court of Malaysia · judgment hosted by eLawMusa Aman v Juhar Mahiruddin and Shafie Apdal: Judgment and Chronology
  5. Cambridge University PressSabah: The End of BN and a New Order?
  6. NUS PressTowards a New Malaysia? The 2018 Election and Its Aftermath
  7. Universiti Malaysia SabahFederal–State Relations in Sabah after GE14
  8. SkrineA Constitutional Crisis Revisited: The 2018 Sabah Transition
  9. Borneo PostMusa Officially Sworn In as Chief Minister of Sabah
  10. Wikimedia CommonsShafie Apdal Portrait and CC BY 3.0 Record