Do Muoi, a Vietnamese revolutionary who served for six years as the country’s leader during its transition to a market economy under a Communist government, died on Monday in Hanoi. He was 101.

His death, at the National Military Hospital, was announced by the government. “Comrade Do Muoi had gone through various working positions and made great contributions to the revolutionary cause of the Party and nation,” the announcement said.

Mr. Do Muoi was the Communist Party’s general secretary from 1991 to 1997. One Vietnamese news report of his death called him “a prime example of a steadfast communist.”

But he also pushed through difficult economic reforms in the wake of Vietnam’s disastrous attempt to impose a command economy after the Vietnam War ended in 1975.