He made two space shuttle flights: on board Challenger's third flight in 1983, which had the first night-time launch and landing (30 August–5 September), and on the second flight of Discovery in November 1984. Gardner was selected as an astronaut in 1978 and left NASA in 1986.