Jim Lovell, the commander of the famed Apollo 13 mission, has died, according to NASA. He was 97.
"We are saddened by the passing of Jim Lovell, commander of Apollo 13 and a four-time spaceflight veteran," the space agency said. "Lovell's life and work inspired millions. His courage under pressure helped forge our path to the Moon and beyond—a journey that continues today."
Lovell died Thursday in Lake Forest, Illinois, according to a statement from acting NASA administrator Sean Duffy.
His family said in a statement shared by NASA, "We are enormously proud of his amazing life and career accomplishments, highlighted by his legendary leadership in pioneering human space flight. But, to all of us, he was Dad, Granddad, and the Leader of our family. Most importantly, he was our Hero. We will miss his unshakeable optimism, his sense of humor, and the way he made each of us feel we could do the impossible. He was truly one of a kind."
In 1968, as Apollo 8's command module pilot, he became, with Frank Borman and William Anders, one of the first three astronauts to fly to and orbit the moon.
A veteran of several missions, Lovell became the commander for Apollo 13, which narrowly avoided disaster after an oxygen tank in the service module exploded two days into the mission.
Lovell was portrayed by Tom Hanks in the Ron Howard-directed film "Apollo 13," which depicted the events surrounding the mission.
Born in Cleveland, Ohio, on March 25, 1928, Lovell attended the University of Wisconsin in Madison and the U.S. Naval Academy. He was selected as an astronaut by NASA in 1962.

He served as a backup pilot for the Gemini 4 flight in June 1965 and as a pilot on the history-making Gemini 7 mission later that year, which featured the first rendezvous of two manned maneuverable spacecraft.
The Gemini 12 mission, commanded by Lovell with pilot Edwin "Buzz" Aldrin, began on Nov. 11, 1966. This 4-day, 59-revolution flight brought the Gemini program to a successful close.
MORE: Revisiting the heart-stopping moments before Apollo 11 landed on the moon with the world watching
Lovell served as the command module pilot and navigator on the six-day journey of Apollo 8 in late December 1968. Lovell, Borman and Anders became the first humans to leave Earth's gravitational influence and the first to reach the moon, with the crew orbiting the moon ten times without landing.
He was selected as a backup commander for Neil Armstrong on the Apollo 11 lunar landing mission in June 1969.
As the commander of Apollo 13, he became the first person to journey twice to the moon. Launching on April 11, 1970, and scheduled to last 10 days, the mission was aborted after an oxygen tank in the service module exploded.
Lovell and fellow crewmen, Jack Swigert and Fred Haise, working with Houston ground controllers, then converted their lunar module into an effective lifeboat. Their emergency activation and operation of lunar module systems conserved electrical power and water in sufficient supply to ensure their survival as they looped around the moon on their way back to Earth.
The Apollo 13 crewmembers returned safely to Earth on April 17, 1970.

Lovell retired from the Navy and the space program in March 1973. In total, he flew four space missions and up until the mid-1970s he held the world record for the longest time in space -- 715 hours, 4 minutes and 57 seconds.
After leaving the space program, Lovell worked in the telecommunications industry and retired as executive vice president of Centel Corporation in 1991.
He was a recipient of the Congressional Medal of Honor and the Presidential Medal of Freedom.
Lovell was married to his wife Marilyn for over six decades until her death in 2023. He is survived by four children.