As an astronaut, Scott made his first flight into space as pilot of the Gemini 8 mission, along with Neil Armstrong, in March 1966, spending just under eleven hours in low Earth orbit. Scott then spent ten days in orbit as Command Module Pilot aboard Apollo 9, his second spaceflight, along with Commander James McDivitt and Lunar Module Pilot Rusty Schweickart. 