In 2015, presidential candidate Donald Trump called for a temporary ban on any Muslims entering the country in response to the San Bernardino attack. He later shifted his proposal, and made a proposal to ban people from seven predominantly Muslim countries from entering the United States; Roosevelt's application of the Alien Enemies Act was cited as a possible justification. The proposal created international controversy, drawing criticism from foreign heads of state that have historically remained uninvolved in United States presidential elections. A former Reagan Administration aide noted that, despite criticism of Trump's proposal to invoke the law, "the Alien Enemies Act ... is still on the books ... (and people) in Congress for many decades (haven't) repealed the law ... (nor has) Barack Obama". Other critics claimed that the proposal violated founding principles, and was unconstitutional for singling out a religion, and not a hostile nation. They included the Pentagon and others, who argued that the proposal (and its citation of the Alien Enemies proclamations as authority) played into the ISIL narrative that the United States was at war with the entire Muslim religion (not just with ISIL and other terrorist entities). On June 26, 2018, in the 5–4 decision "Trump v. Hawaii", the U.S. Supreme Court upheld Presidential Proclamation 9645, the third version of President Trump's travel ban, with the majority opinion being written by Chief Justice John Roberts.