The signing of the order provoked widespread condemnation and protests and resulted in legal intervention against the enforcement of the order with some calling it a " Muslim ban " because Trump had previously called for temporarily banning Muslims from America soon after the 2015 San Bernardino terrorist attack ( a call he reiterated after the Orlando nightclub shooting six months later ) , and because all of the affected countries had a Muslim majority . A nationwide temporary restraining order ( TRO ) was issued on February 3 , 2017 in the case '' Washington v. Trump '' , which was upheld by the United States Court of Appeals for the Ninth Circuit on February 9 , 2017 . Consequently , the Department of Homeland Security ( DHS ) stopped enforcing portions of the order and the State Department re-validated visas that had been previously revoked . Later , other orders ( Executive Order 13780 and Presidential Proclamation 9645 ) were signed by Trump and superseded order 13769 . On June 26 , 2018 , the U.S. Supreme Court upheld the third executive order ( Presidential Proclamation 9645 ) and its accompanying travel ban in a 5 – 4 decision , with the majority opinion being written by Chief Justice John Roberts
2015 San Bernardino terrorist attack
2015 San Bernardino attack
Executive Order 13769