Former Nepal communist rebel leader elected prime minister

Nepal's newly-appointed prime minister Pushpa Kamal Dahal, center, waves to the media in Kathmandu, Nepal, Wednesday, Aug.3, 2016. Nepal's parliament elected the former communist rebel leader as the country's new prime minister Wednesday who would now lead a coalition government and likely give continuation to political instability in the Himalayan nation.(AP Photo/Bikram Rai) (The Associated Press)

Nepal's newly-appointed prime minister Pushpa Kamal Dahal, waves to the media in Kathmandu, Nepal, Wednesday, Aug.3, 2016. Nepal's parliament elected the former communist rebel leader as the country's new prime minister Wednesday who would now lead a coalition government and likely give continuation to political instability in the Himalayan nation.(AP Photo/Bikram Rai) (The Associated Press)

A Nepalese lawmaker, left, takes photographs of newly-appointed prime minister Pushpa Kamal Dahal, center, in Kathmandu, Nepal, Wednesday, Aug.3, 2016. Nepal's parliament elected the former communist rebel leader as the country's new prime minister Wednesday who would now lead a coalition government and likely give continuation to political instability in the Himalayan nation.(AP Photo/Bikram Rai) (The Associated Press)

Nepal's parliament has elected a former communist rebel leader as the country's new prime minister.

Parliament speaker Onsari Gharti Magar announced that Maoist party leader Pushpa Kamal Dahal received a majority of the votes of lawmakers on Wednesday.

It is Dahal's second time as prime minister of the Himalayan nation. His first tenure ended in 2009 when he resigned over differences with the president on the sacking of an army chief.

Dahal led a communist insurgency against the government for a decade until 2006, when the rebels signed a U.N.-monitored peace agreement. More than 17,000 people were killed during the insurgency.