He was elected to the
House of Representatives in the
2008 election and was appointed a
Deputy Minister of Housing and Local Government. He was previously a member of the
Malaysian Senate. He served as the
Minister of Domestic Trade, Cooperatives and Consumerism,
Deputy Minister of Foreign Affairs,
Deputy Minister of Plantation Industries and Commodities and
Deputy Minister of Housing and Local Government in the
Barisan Nasional (BN) administration under former prime ministers
Abdullah Ahmad Badawi and
Najib Razak from March 2008 to the defeat of
BN in the
2018 general election in May 2018. He has also served as the
member of parliament (MP) for
Larut since March 2008. Presently he is a member of the
Malaysian United Indigenous Party (BERSATU) and its 3rd secretary-general since March 2020, a component party of the ruling
PN coalition and he also serves as its 1st secretary-general since August 2020. He was a member of the then-ruling
United Malays National Organisation (UMNO), a component party of the
BN coalition. He subsequently resigned from
UMNO to join
BERSATU in December 2018. In 2020, when the
Pakatan Harapan government crumpled due to
Mahathir Mohamad's sudden resignation after trying to eradicate those who are involved in the
Sheraton Move but failed. He was elected as the Home Minister by the newly appointed Prime Minister
Muhyiddin Yassin in his
cabinet. In December 2022, he led the
Perikatan Nasional coalition to become the 17th
Leader of the Opposition. He was later sacked by the disciplinary body of BERSATU in 13 February 2026 over party violations, alongside other 16 members including
Wan Ahmad Fayhsal, triggering an internal crisis in BERSATU and takeover of the official Facebook page by alleged pro-Hamzah administrators. ==Controversies and issues==