Thailand's caretaker Cabinet has appointed a new acting prime minister after the nation's Constitutional Court ordered Prime Minister Yingluck Shinawatra and several members of her cabinet to step down from office.
Commerce Minister Niwatthamrong Boonsongphaisan has been appointed as acting prime minister.
The Bangkok court on Wednesday unanimously ruled that Prime Minister Yingluck in 2011 improperly reassigned her then national security chief. It said the move was unconstitutional and done for her own benefit.
Judge Jaroon Intachan announced the ruling against Ms. Yingluck, who was Thailand's first female prime minister.
"In this case, the accused committed what is prohibited in the constitution in section 368 and 266/1(2 and 3). It is applicable to the position of the minister which is to be terminated. And according to the constitution section 182 1(7), the accused cannot remain in position."
Prime ministers are usually chosen by the country's lower house of parliament, but that body was dissolved by Ms. Yingluck last year when she called for early elections in an attempt to resolve the crisis.
Ms. Yingluck, who defended herself before the court on Tuesday, conceded defeat in a Wednesday speech, saying she has done nothing wrong.
The prime minister's supporters say the charges are politically motivated. They had threatened to protest if she were removed, raising fears of violence. About two dozen people have already been killed in six months of anti-government protests.
After the protesters failed to achieve their goal of ousting Ms. Yingluck, they instead turned to the Constitutional Court, which has a history of ruling against Shinawatra-linked governments.
The opposition protesters say Ms. Yingluck's government is hopelessly corrupt and controlled by her brother, ex-prime minister Thaksin Shinawatra.
Mr. Thaksin was removed from office in a 2006 military coup. The billionaire businessman is still very influential in Thailand. He is living in exile to escape corruption charges.
The conflict pits Bangkok's urban middle class and royalist elite against the mostly poor, rural supporters of Ms. Yingluck and Mr. Thaksin.