He previously contested the Skudai state seat of Johor State Legislative Assembly on the DAP party ticket in the 1999 general election and the 2004 general election but had lost both the contests to the Barisan Nasional (BN).
In the 2008 general election, he contested the Skudai state seat again and won to be a assemblyman for Skudai constituency.
He retained the seat in the following 2013 general election.
He has been the opposition leader for representing Pakatan Rakyat (PR) in Johor State Legislative Assembly from 2008 till 2015.