The president said he will pull the U.S. military from the Middle Eastern country before the 20th anniversary of the Sept. 11 attacks because "it is time to end America’s longest war."