In June 1999, Wahid's PKB entered the legislative elections. The PKB won 12% of the votes with Megawati's PDI–P winning the legislative elections with 33% of the votes. With her party decisively winning the legislative elections, Megawati expected to win the presidency against Habibie at the MPR General Session. However, the PDI-P did not have complete majority and formed a loose alliance with the PKB. In July, however, Amien Rais would form the Central Axis, a coalition of Muslim parties. The Central Axis then began to consider nominating Wahid as a third candidate in the presidential race and the PKB's commitment towards PDI-P began to waver.