Media playback is unsupported on your device Media caption Watch: Behind the scenes at the swearing-in of Myanmar's new president

Myanmar's new president has been sworn in, the first elected civilian leader in more than 50 years.

Htin Kyaw from the National League for Democracy (NLD) takes over from Thein Sein, who introduced wide-ranging reforms during his five years in power.

Although NLD leader Aung San Suu Kyi is barred from the presidency, she has said she will rule by proxy.

The handover completes the transition that began after the NLD won a landslide win in elections in November.

A draft bill obtained by the BBC suggests that the new government is to create a special position for Ms Suu Kyi. The proposed post would be "adviser to the state", with a broad mandate similar to that of prime minister.

Thein Sein's legacy of reform

Htin Kyaw, 69, said he would be "faithful" to the people of Myanmar, also called Burma, as he took the oath of office in a joint session of parliament in the capital Nay Pyi Taw.

Media playback is unsupported on your device Media caption Htin Kyaw (centre) was sworn in as president along with his vice-presidents

Vice-presidents Henry Van Thio and Myint Swe, who lost to Htin Kyaw in the presidential vote earlier this month, were also sworn in, as were new cabinet ministers.

Most of the ministers belong to the NLD. The list includes Ms Suu Kyi who will be in charge of foreign affairs, the president's office, education, and energy and electric power.

But the military is appointing its own nominees for three key ministries - defence, home affairs and border affairs.

Who is Htin Kyaw?

Htin Kyaw, 69, is Ms Suu Kyi's close aide.

He attended university in the UK. He has a reputation for honesty and loyalty, and has kept a low profile.

His father, the writer and poet Min Thu Wun, won a seat for the party at the 1990 election.

His wife, Su Su Lwin, is the daughter of an NLD founder, as well as being a sitting MP, and a prominent party member.

He has played a senior role at the Daw Khin Kyi Foundation, the charity founded in honour of Suu Kyi's late mother, and has been frequently seen at the NLD leader's side, serving as her driver from time to time.

In a brief speech, Htin Kyaw noted challenges ahead including the need for a nationwide ceasefire. The government has been engaged in armed conflicts with various ethnic groups for decades.

He also spoke about the constitution complying with modern democratic values, in a nod to the NLD's stated goal during the election campaign of changing the constitution.

Image copyright Reuters Image caption Ms Suu Kyi has said she would be "above the president"

Correspondents say this is perhaps the most sensitive issue in the NLD government's relationship with the army, who have 25% of parliamentary seats. It means the army retains the power to veto any changes to the constitution, as that would require more than 75% of votes.

The constitution contains a controversial clause barring anyone with family members who have another nationality from becoming president - widely seen as aimed at preventing Ms Suu Kyi from taking power, as her two sons are British.

Despite the restriction Ms Suu Kyi, who remains hugely popular and prominent in Myanmar, has vowed to act "above the president".

Last year, the NLD won 80% of contested seats in a historic election that was considered mostly free and fair and now dominates parliament.

Outgoing President Thein Sein, who led a quasi-civilian government from 2011 ending decades of military rule, will hand over power to Htin Kyaw, who assumes office on 1 April.

Thein Sein is credited with starting the reform process in Myanmar, also known as Burma.

Image copyright AFP/Getty Images Image caption Thein Sein is credited with starting Myanmar's reform process

Jonah Fisher, BBC News, Nay Pyi Taw - "Myanmar's reform process has been a bumpy, uneven ride"

Five years ago Myanmar was an international pariah, rusting in the sidings. Sanctions were in place, and people were scared to speak their minds. More than 2,000 political prisoners languished in jail.

Now, as Thein Sein hands over the controls to Aung San Suu Kyi and her NLD, Myanmar is a country on the up.

Where once people were jailed for criticising the junta, there is now a vibrant media and open public debate. The economy's growing rapidly and a telecoms revolution is under way.

With a few exceptions, notably the Rohingya minority, life for Burmese people has got better, and much of the credit for that must go to the stewardship of Thein Sein.