 Abdullah reportedly told them that he had "picked the best people", leading to their resignations.After Najib Razak replaced Abdullah as Prime Minister in 2009, Anifah was promoted from the backbench to the Cabinet as Minister for Foreign Affairs.During Anifah's tenure as Foreign Minister, Malaysia won election as a non-permanent member of the United Nations Security Council for the 2015–2016 term.