On July 27, 1964, McDivitt was nominated as commander for Gemini 4, the second crewed Gemini flight, and as a spaceflight novice, he was chosen over Mercury veterans Walter Schirra and Gordon Cooper. McDivitt was the first of five NASA astronauts to be given command of a multi-crew spacecraft on their very first flight. In October 1964, he was the first astronaut to test the new Gemini spacesuit.
The Gemini 4 flight took place from June 3 to June 7, 1965, and was the first multi-day Gemini flight after Gemini 3.
During the Gemini 5 flight in August 1965, McDivitt was one of the four CAPCOMs (Capsule Communicator).
In December 1965, McDivitt was nominated as backup commander for the first crewed Apollo mission. In December 1966, even before the Apollo 1 disaster, NASA changed its plans and assigned McDivitt and his crew (Rusty Schweickart and David Scott) as the prime crew for the second crewed mission, the so-called D mission. This was announced by NASA on November 20, 1967. Initially, this mission was planned as Apollo 8. However, after the successful Apollo 7 mission, a lunar mission was scheduled in between, so McDivitt’s mission became Apollo 9.
From March 3 to March 13, 1969, McDivitt and his crew tested the Apollo spacecraft and the lunar module in Earth orbit. During this mission, McDivitt and Schweickart became the first humans to transfer between spacecraft via a tunnel.
Following this successful spaceflight, McDivitt assumed management positions within NASA. He became team leader of the lunar exploration program and program director for Apollo missions 12 through 16. On January 1, 1972, he left NASA, and on June 1, 1972, he left the U.S. Air Force, entering the private sector.
McDivitt was married twice. He had four children from his first marriage and two stepchildren from his wife’s first marriage. He died on October 13, 2022, in Tucson, Arizona.

