9.50pm: Final official EC tally - Anwar got 31,195 votes, Arif Shah, 15,524, Hanafi, 92. Anwar won with a majority of 15,671. Anwar's wife, Dr Wan Azizah Wan Ismail, won the seat with a 13,388 majority at the March 8 general elections.
9.12pm: Official EC result: With 11 more boxes to go, Anwar has won the by-election with a 14,551 majority. He garnered 27,977 votes while BN's Arif Shah obtained 13,426 while Akim's Hanafi Hamat got 85.
8pm: Unofficial results: Anwar Ibrahim wins with a majority of 16,210 votes. He garnered 26,646 votes while Arif Shah Omar Shah got 10,436.