MANDALAY, Myanmar — A longtime loyalist to Myanmar’s civilian leader, Daw Aung San Suu Kyi, was chosen on Wednesday to be the country’s new president, a largely ceremonial role in which he is expected to be the official conduit for her authority.

The new president, U Win Myint, will succeed U Htin Kyaw, 71, who resigned last week after two years on the job. Mr. Htin Kyaw was widely regarded as an honest but powerless functionary who did the bidding of Ms. Aung San Suu Kyi, a Nobel Peace laureate who has been condemned globally for her acquiescence to the military’s ethnic cleansing of Rohingya Muslims.

Mr. Win Myint, a 66-year-old lawyer, is expected to perform in a similar fashion. As president, he will be constrained by both the military-drafted Constitution and the strong hand of Ms. Aung San Suu Kyi.

Parliament chose him from a field of three candidates during a two-hour session in which his character and qualifications for the job were not mentioned.