Months before Defense Secretary Ash B. Carter said the Pentagon would take steps toward allowing transgender people to serve openly in the military, Army Staff Sgt. Patricia King last year became what she believes is the first openly transgender member of the infantry.