Nepal’s newly elected president — the third since the Himalayan nation abolished its centuries-old monarchy in 2008 and became a republic — took the oath of office Monday in Kathmandu.

Ram Chandra Poudel was elected Thursday by members of the Federal Parliament and provincial assemblies. Top officials, diplomats and Parliament members lined up to congratulate the new president at the ceremony where the military band played national songs and gave him a salute.

Outgoing President Bidhya Devi Bhandari, having completed the maximum two terms in office, passed the position on immediately after the swearing-in ceremony.

NEPAL TO SEND BLACK BOX TO FRANCE AFTER WORST AIRLINE DISASTER IN 30 YEARS

The president is largely a figurehead with little political power. But the election triggered a feud among partners in the governing alliance headed by Prime Minister Pushpa Kamal Dahal, who took office in December after a hung parliament left a fragile coalition government.

Ram Chandra Poude

Outgoing President Bidhya Devi Bhandari, right, congratulates Nepal's newly elected president Ram Chandra Poudel, after he took the oath of office in Kathmandu, Nepal, on March 13, 2023. (AP Photo/Dipen Shrestha)

Dahal backed Poudel, who is also now the supreme commander of the Nepalese army, angering his main coalition partner, the Communist Party of Nepal (Unified Marxist Leninist), which backed Subash Chandra Nembang, its own candidate.

CHINA EASTERN PLANE CARRYING 132 PEOPLE CRASHES, NO SIGN OF LIFE AMONG DEBRIS: REPORT

The party has since pulled out of the coalition, threatening Dahal’s control.

Dahal has since lost the support of three key political parties that were part of his initial coalition government, and must seek a vote of confidence in parliament later in March to continue in power.

CLICK HERE TO GET THE FOX NEWS APP

There was no clear explanation of why Dahal decided to back the opposition candidate and endanger his alliance, but struggles for power among the main political parties are common. The country has had eight different governments in the past 10 years.