The Nasa astronaut turned around a moon mission that nearly ended in disaster but instead inspired a Hollywood blockbuster

James Lovell, the pioneering US astronaut whose two dramatic missions to the moon included Apollo 13, the nearly disastrous trip that captivated the world and decades later inspired a triumphant Hollywood blockbuster, has died. He was 97.

He died on August 7 in Lake Forest, Illinois, the National Aeronautics and Space Administration announced, without citing a cause.

A member of Nasa’s second astronaut class, Lovell made history repeatedly during the heyday of the US space programme, notching the first rendezvous with a crewed spacecraft; the longest American space flight of the 1960s, in Gemini 7; and the first lunar mission, the Apollo 8 orbital journey that captured the iconic image of a blue-and-white Earth suspended against lonely, black emptiness.

His two trips during the Gemini programme and two more in Apollo capsules made him the first person to fly into space on four separate occasions and the first to fly twice to the moon.