The ruling National Front coalition won its 13th consecutive election, but by its narrowest margin ever. The opposition Pakatan Rakyat coalition, which had pledged to impose a strict version of sharia law if elected, threatened to challenge the results.