Were all US astronauts military officers on active duty up to some point? When did this change, and why?

by Count_Spockula
NeedsToShutUp

Astronaut Group 4 was the first group of non-pilots to enter the NASA astronaut core. Previous groups were taken from test pilots and fighter pilots. Harrison Schmitt on Apollo 17 was thus the first US non military officer in Space. Source: Eugene Cernan's Autobiography right next to me.