He was a Member of Parliament of (P124) Bandar Tun Razak in Wilayah Persekutuan (Federal Territory) of Malaysia) representing the National Front (Barisan Nasional) coalition for 3 terms until he lost to Tan Sri Abdul Khalid Ibrahim of Parti Keadilan Rakyat (PKR) in the 2008 general election.
He subsequently announced that he will retire from politics prior to the 2013 general election.