Giap died in a military hospital in the capital of Hanoi, where he had spent nearly four years because of illnesses, according to a government official and a person close to him. Both spoke on condition of anonymity before the death was announced in state-controlled media.
Known as the "Red Napoleon," Giap commanded guerrillas who wore sandals made of car tires and lugged artillery piece by piece over mountains to encircle and crush the French army at Dien Bien Phu in 1954. The unlikely victory — still studied at military schools — led to Vietnam's independence and hastened the collapse of colonialism across Indochina and beyond.
Giap then defeated the U.S.-backed South Vietnam government in April 1975, reuniting a country that had been split into communist and noncommunist states. He regularly accepted heavy combat losses to achieve his goals.
"No other wars for national liberation were as fierce or caused as many losses as this war," Giap told The Associated Press in 2005 — one of his last known interviews with foreign media on the eve of the 30th anniversary of the fall of Saigon, the former South Vietnamese capital.
"But we still fought because for Vietnam, nothing is more precious than independence and freedom," he said, repeating a famous quote by Ho Chi Minh.
Giap remained sharp and well-versed in current events until he was hospitalized. Well into his 90s, he entertained world leaders at his shady colonial-style home in Hanoi.
Although widely revered in Vietnam, Giap was the nemesis of millions of South Vietnamese who fought alongside U.S. troops and fled their homeland after the war, including the many staunchly anti-communist refugees who settled in the United States.
Born Aug. 25, 1911, in central Vietnam's Quang Binh province, Giap became active in politics in the 1920s and worked as a journalist before joining the Indochinese Communist Party. He was jailed briefly in 1930 for leading anti-French protests and later earned a law degree from Hanoi University.
He fled French police in 1940 and met Ho Chi Minh in southwestern China before returning to rural northern Vietnam to recruit guerrillas for the Viet Minh, a forerunner to the southern insurgency later known as the Viet Cong.
During his time abroad, his wife was arrested by the French and died in prison. He later remarried and had five children.
In 1944, Ho Chi Minh called on Giap to organize and lead guerrilla forces against Japanese invaders in World War II. After Japan surrendered to Allied forces the next year, the Viet Minh continued their fight for independence from France.
Giap was known for his fiery temper and as a merciless strategist, but also for being a bit of a dandy. Old photos show him reviewing his troops in a white suit and snappy tie, in sharp contrast to Ho Chi Minh, clad in shorts and sandals.
Giap never received any formal military training, joking that he attended the military academy "of the bush."
At Dien Bien Phu, his Viet Minh army surprised elite French forces by surrounding them. Digging miles of trenches, the Vietnamese dragged artillery over steep mountains and slowly closed in during the bloody, 56-day battle that ended with French surrender on May 7, 1954.
"If a nation is determined to stand up, it is very strong," Giap told foreign journalists in 2004 prior to the battle's 50th anniversary. "We are very proud that Vietnam was the first colony that could stand up and gain independence on its own."
It was the final act that led to French withdrawal and the Geneva Accords that partitioned Vietnam into north and south in 1956. It paved the way for war against Saigon and its U.S. sponsors less than a decade later.
The general drew on his Dien Bien Phu experience to create the Ho Chi Minh Trail, a clandestine jungle network that snaked through neighboring — and ostensibly neutral — Laos and Cambodia to supply his troops fighting on southern battlefields.
Against U.S. forces with sophisticated weapons and B-52 bombers, Giap's guerrillas prevailed again. But more than 1 million of his troops died in what is known in Vietnam as the "American War."
"We had to use the small against the big; backward weapons to defeat modern weapons," Giap said. "At the end, it was the human factor that determined the victory."
Historian Stanley Karnow, who interviewed Giap in Hanoi in 1990, quoted him as saying: "We were not strong enough to drive out a half-million American troops, but that wasn't our aim. Our intention was to break the will of the American government to continue the war."
Giap had been largely credited with devising the 1968 Tet Offensive, a series of surprise attacks on U.S. strongholds in the south by Viet Cong and North Vietnamese forces during lunar new year celebrations. Newer research, however, suggests that Giap had opposed the attacks, and his family has confirmed he was out of the country when they began.
The Tet Offensive shook U.S. confidence, fueled anti-war sentiment and prompted President Lyndon B. Johnson to announce that he would not seek re-election. But it took another seven years for the war to be won.
On April 30, 1975, communist forces marched through Saigon with tanks, bulldozing the gates of what was then known as Independence Palace.
"With the victory of April 30, slaves became free men," Giap said. "It was an unbelievable story."
It came at a price for all sides: the deaths of as many as 3 million communists and civilians, an estimated 250,000 South Vietnamese troops and 58,000 Americans.
Throughout most of the war, Giap served as defense minister, armed forces commander and a senior member of Vietnam's ruling Communist Party, but he was slowly elbowed from the center of power after Ho Chi Minh's death in 1969. The glory for victory in 1975 went not to Giap, but to Gen. Van Tien Dung, chief of the general staff.
Giap lost the defense portfolio in 1979 and was dropped from the powerful Politburo three years later. He stepped down from his last post, as deputy prime minister, in 1991.
Despite losing favor with the government, the thin, white-haired man became even more beloved in Vietnam as he continued to speak out. He retired in Hanoi as a national treasure, writing his memoirs and attending functions — always wearing green or eggshell-colored military uniforms with gold stars across the shoulders.
He held news conferences, reading from handwritten notes and sometimes answering questions in French to commemorate war anniversaries. He invited foreign journalists to his home for meetings with high-profile visitors and often greeted a longtime American female AP correspondent in Hanoi with kisses on both cheeks.
He kept up with world news and offered advice in 2004 for U.S. troops fighting in Iraq.
"Any forces that wish to impose their will on other nations will certainly face failure," he told reporters.
Among the foreign dignitaries he received was friend and fellow communist revolutionary Fidel Castro of Cuba. In 2003, they sat in Giap's home chatting and laughing beneath a portrait of Vladimir Lenin, founder of the Soviet Union.
The general's former nemesis, U.S. Defense Secretary Robert McNamara, visited in 1995. He asked about a disputed chapter of the Vietnam War, the 1964 Gulf of Tonkin incident in which two U.S. Navy destroyers were purportedly fired upon by North Vietnamese boats. It's the event that gave the U.S. Congress justification for escalating the war.
Later, many questioned whether the attack actually occurred. During his visit, McNamara asked Giap what happened that night. He replied: "Absolutely nothing."
At age 97, Giap took a high-profile role in a debate over the proposed expansion of a bauxite mine that he said posed environmental and security risks, in part because it was to be operated by a Chinese company in the restive Central Highlands. He also protested the demolition of Hanoi's historic parliament house, Ba Dinh Hall. Both projects, however, went ahead as planned.
Giap celebrated his 100th birthday in 2011. He was too weak and ill to speak, but he signed a card thanking his "comrades" for their well-wishes. Even then, he continued to be briefed every few days about international and national events.
Late in life, Giap encouraged warmer relations between Vietnam and the U.S., which re-established ties in 1995 and have become close trading partners. Vietnam has also recently looked to the U.S. military as a way to balance China's growing power in the disputed South China Sea.
"We can put the past behind," Giap said in 2000. "But we cannot completely forget it."