Prime Minister Hun Sen on Wednesday led a Cambodian delegation that joined hundreds of mourners to pay respects to Vietnam’s President Tran Dai Quang, who passed away on Friday aged 61 after a prolonged illness.

The prime minister was accompanied by Interior Minister Sar Kheng, the Minister of National Assembly-Senate Relations Men Samon and other senior government officials, said the Ministry of Foreign Affairs and International Cooperation.

Hun Sen paid tribute at Quang’s funeral in Hanoi, where the latter’s flag-draped coffin lay beneath a large portrait of the late leader.

He also submitted a letter of condolence to Vietnamese Prime Minister Nguyen Xuan Phuc. In the letter, Hun Sen hailed Quang “a great and highly praised leader”.

“The death of His Excellency Tran Dai Quang, a great and highly praised leader of Vietnam, is a huge loss to the leadership and the people of Vietnam, and their friends in Cambodia. In this sad moment, my condolences go out to the Vietnamese people,” the letter reads.

Hundreds of black-clad mourners, weeping or lighting incense and laying wreaths, gathered on Wednesday at Quang’s state funeral.

Long lines of officials, police, relatives and monks in golden robes streamed through the National Funeral House in central Hanoi.

Quang, a member of the ruling Communist Party’s powerful politburo, spent more than four decades climbing the ranks of the security apparatus until he became president in 2016.

The presidency is a mostly ceremonial role and his passing is unlikely to dramatically disrupt politics in the one-party state, to which the lifelong communist stalwart and former police chief dedicated most of his career.

Quang was praised for his loyalty and patriotism at his funeral on Wednesday. His black-clad family, wearing white headbands, greeted mourners passing the coffin which was flanked by massive arrangements of yellow flowers.

“He devoted his entire life and made numerous contributions to national-revolutionary causes . . . his passing is a huge loss to our party, state and people,” said Deputy Prime Minister Truong Hoa Binh.

The country’s top party officials led tributes with large red, yellow and white floral wreaths, including Prime Minister Nguyen Xuan Phuc and Communist Party chief Nguyen Phu Trong, who lit incense and bowed before the coffin.

Quang’s tearful deputy Dang Thi Ngoc Thinh – now acting president, the first woman in the job – offered an emotional farewell for a man who often appeared stiff in public.

PM Hun Sen arrives at the national funeral house in Hanoi to pay his respects to late Vietnamese president in Hanoi. Nhac NGUYEN/afp

“It’s hard to believe that you will be gone for real and forever. I hope you have a peaceful sleep in the eternal world,” she wrote in the condolence book.

Officials said Quang died of a “rare virus” and had sought treatment for more than a year in Japan.

He had appeared thin and wan in recent weeks, though he continued to work right to the end of his life, hosting a public event two days before his death.

“I don’t understand why he had been working until almost the very last day . . . If he was an ordinary person, he would have a chance to rest and enjoy his last minutes,” a local resident, who gave the name Nga, told AFP outside the funeral house.

Quang, the head of the shadowy Minister of Public Security for five years before he became president, had a reputation as a hardline leader both at home and abroad.

He was seen as tough on dissent and drew criticism for overseeing a crackdown on activists and bloggers since he became president in 2016.

He also backed a sweeping anti-corruption campaign that has seen dozens of former and current officials and executives jailed in the past two years.

Quang’s death divided opinion in the country, where some scorned his role in the crackdown.

“He chose to attach his name to one of the country’s darkest chapters,” activist Trinh Huu Long said on Facebook.

Quang will be buried in his home town in Ninh Binh province on Thursday, ending two days of national mourning during which entertainment venues will be closed. president, the first woman in the job – offered an emotional farewell for a man who often appeared stiff in public.

“It’s hard to believe that you will be gone for real and forever. I hope you have a peaceful sleep in the eternal world,” she wrote in the condolence book.

Officials said Quang died of a “rare virus” and had sought treatment for more than a year in Japan.

He had appeared thin and wan in recent weeks, though he continued to work right to the end of his life, hosting a public event two days before his death.

“I don’t understand why he had been working until almost the very last day . . . If he was an ordinary person, he would have a chance to rest and enjoy his last minutes,” said a local resident who gave the name Nga.

Quang, the head of the shadowy Minister of Public Security for five years before he became president, had a reputation as a hardline leader both at home and abroad.

Seen as tough on dissent, he drew criticism for overseeing a crackdown on activists and bloggers since he became president in 2016.

He also backed a sweeping anti-corruption campaign that has seen dozens of former and current officials and executives jailed in the past two years.

Quang’s death divided opinion in the country, where some scorned his role in the crackdown.

“He chose to attach his name to one of the country’s darkest chapters,” activist Trinh Huu Long said on Facebook.

Quang will be buried in his home town in Ninh Binh province on Thursday, ending two days of national mourning during which entertainment venues will be closed.

Additional reporting by AFP’s Tran Thi Minh Ha