Career
He remained in the State Assembly until the 2004 election, in which he was elected to the federal Parliament for the seat of Kuala Pilah. He was re-elected in 2008 and 2013. After the 2008 election he became a deputy minister, and after the 2013 election, he was appointed as the Minister of Domestic Trade Cooperative and Consumerism in the Cabinet of Prime Minister Najib Razak.