KUALA LUMPUR, Nov 24 (AFP) - Malaysian opposition leader Anwar Ibrahim has been appointed prime minister, the palace said in a statement Thursday, ending a days-long political impasse after inconclusive polls.

"After taking into the consideration the views of Their Royal Highnesses the Malay Rulers, His Majesty has given consent to appoint Anwar Ibrahim as the 10th Prime Minister of Malaysia," the statement said.