Lt. Gen. Hal Moore with Mel Gibson, who portrayed him in the Vietnam War film “We Were Soldiers.” (J. Emilio Flores/Getty Images)

Hal Moore, an Army lieutenant general whose leadership in one of the earliest and bloodiest battles of the Vietnam War saved scores of lives and was memorialized in the book “We Were Soldiers Once . . . and Young” and in a film adaptation starring Mel Gibson, died Feb. 10 at his home in Auburn, Ala. He was 94.

In a Facebook post, his family said that Gen. Moore suffered a stroke last week but did not provide additional details.

Gen. Moore’s military career spanned three wars and multiple continents, beginning with a posting in Japan during the American occupation after World War II and a stint at Fort Benning, Ga., where he tested parachutes and parachuting equipment on more than 130 test jumps. At least one jump resulted in his being dragged along the ground by an airplane.

Sporting a bulldog face and a Southern accent acquired from a childhood in small-town Kentucky, he developed a reputation as an exceptional combat leader during the Korean War and in the early stages of the Vietnam War — no more so than in the Battle of Ia Drang, the first major engagement between American and North Vietnamese forces.

The battle began Nov. 14, 1965, shortly after Gen. Moore, then a lieutenant colonel, stepped off a Huey helicopter and onto a football-field-sized clearing in South Vietnam’s Ia Drang Valley. He and the 457 men under his command were there to track North Vietnamese Army units and search for a possible enemy base.

Gen. Moore in 2004. He was awarded the Distinguished Service Cross for his leadership during the Battle of Ia Drang, one of the earliest and bloodiest engagements of the Vietnam War. (Jamie Martin/AP)

They soon found themselves opposed by more than 3,000 North Vietnamese troops who had been hidden in mountainous terrain alongside the clearing. The American forces’ position, reporters and military historians later wrote, was not unlike that of George Custer, whose troops were surprised, surrounded and slaughtered at the Battle of the Little Bighorn in 1876.

In the days before the attack, Gen. Moore’s troops sometimes referred to their blond-haired commander as “Yellow Hair” — Custer’s nickname. Sizing up the situation at Landing Zone X-Ray, as the Ia Drang clearing was called, Gen. Moore set about avoiding the fate of his predecessor.

Applying a “first in, last out” approach to combat leadership, Gen. Moore led the initial assaults on the North Vietnamese positions himself, and remained at the battle’s front lines until his battalion was relieved after three days of fierce, close-combat fighting.

Joseph L. Galloway, a reporter for the United Press International wire service who was present for most of the battle, later said that Gen. Moore refused three times to leave the battle and meet with generals in Saigon.

A citation for the Distinguished Service Cross, awarded to Gen. Moore after the engagement, reports that “throughout the initial assault phase, Col. Moore repeatedly exposed himself to intense hostile fire to insure the proper and expedient deployment of friendly troops.”

According to “We Were Soldiers Once . . . and Young” (1992), a nearly blow-by-blow account of the battle that Gen. Moore co-wrote with Galloway, 79 Americans were killed and 121 were wounded at Landing Zone X-Ray. An estimated 1,800 North Vietnamese were killed or wounded.

Lt. Col. Bruce P. Crandall, who was later awarded the Medal of Honor for delivering crucial supplies of ammunition and water to Gen. Moore’s men, and for flying through smoke and gunfire to ferry wounded soldiers out of the valley, told The Washington Post in 2007 that the battle “was hell on Earth — for a short period of time.”

In his book, Gen. Moore credited Huey helicopters, rather than his own tactical skill, for his unit’s survival on the ground. Without helicopters to ferry out the wounded and deliver goods, his men “would certainly die in much the same way George Armstrong Custer’s cavalrymen died at the Little Bighorn — cut off; surrounded by numerically superior forces, overrun and butchered to the last man.”

The book, which also detailed a separate unit’s subsequent, even bloodier engagement at Ia Drang, positioned the month-long battle at Ia Drang Valley as a pivotal moment in the war’s history, one that convinced U.S. commander William Westmoreland that American forces “could bleed the enemy to death over the long haul.” Vietnamese commanders, it argued, were equally convinced that they could take on American forces, despite their technological superiority.

Widely praised by critics for its research, which included testimonies from U.S. soldiers whom Gen. Moore led and from Vietnamese commanders whom he opposed, the book was subsequently adapted to “We Were Soldiers,” directed by Randall Wallace and with Gibson starring as Gen. Moore.

Although the film was sometimes clumsy in its handling of characters and emotions, wrote Post film critic Stephen Hunter in a review, it was spot-on its portrayal of Gen. Moore. “If ever a man were born to command a battle,” Hunter wrote, “it was Hal Moore.”

Harold Gregory Moore Jr. was born in Bardstown, Ky., on Feb. 13, 1922. His father was an insurance agent, and his mother was a homemaker.

Gen. Moore graduated in 1945 from the U.S. Military Academy at West Point, N.Y. He received a master’s degree from George Washington University in 1964 and graduated from the U.S. Naval War College that same year.

Following his service in Vietnam, Gen. Moore commanded an infantry division in South Korea and was stationed in the Washington area as deputy chief of staff for personnel at the Army Department.

He retired from the military in 1977, with honors that included the Distinguished Service Medal, three awards of the Legion of Merit, four awards of the Bronze Star Medal and the Purple Heart. For several years, he was an executive at Crested Butte ski resort in Colorado.

Gen. Moore’s wife of 55 years, the former Julia Compton, died in 2004. Survivors include five children; 11 grandchildren; and four great-grandchildren.

Beginning in the early 1990s, Gen. Moore returned several times to the battlefield at Ia Drang. Traveling with soldiers who served under him, he made what was perhaps an unprecedented gesture in Vietnam: meeting in person with North Vietnamese commanders who opposed him, and on at least one occasion camping with them at the battlefield under the stars. He chronicled the trips, and lessons learned, in “We Are Soldiers Still” (2008), which was also co-written with Galloway.

In his books and in frequent public speaking appearances, Gen. Moore seemed focused on ensuring that the legacy of his men, and of their war, was not forgotten. At times, this led him to opine on current events — as in a 2007 interview with the magazine Armchair General, when he offered a pointed critique of the George W. Bush administration’s invasion of Iraq.

In Vietnam, he said, “we were trying to create a democratic country in one that had no concept of democracy. We tried to build a South Vietnamese army in the image of the American Army.” In Iraq, he continued, “we are repeating history.”