The Senate passed the bill hours before a government shutdown, overcoming Democratic opposition to the measure and sending it to President Trump's desk.
It's the latest development in the U.S. military's struggle to bring to justice the man charged with planning the Sept. 11 attacks on the United States.