The Senate passed the bill hours before a government shutdown, overcoming Democratic opposition to the measure and sending it to President Trump's desk.
A federal judge likened the DOD's new policy to the military's former "don't ask, don't tell" policy that barred LGBTQ service members from openly serving.