Women have a rich history in the U.S. military. They served as nurses dating back to World War I, but with some limited exceptions, women could not serve in other capacities until World War II. After the war ended, Congress passed legislation that allowed a small number of women to remain in the military but with many restrictions.