In the 2017 election, Merkel led her party to victory for the fourth time. Both CDU/CSU and SPD received a significantly lower proportion of the vote than they did in the 2013 election, and attempted to form a coalition with the FDP and Greens. The collapse of these talks led to stalemate. The German President Frank-Walter Steinmeier subsequently appealed successfully to the SPD to change their hard stance and to agree a 3rd grand coalition with the CDU/CSU.
The temporary order was replaced by Presidential Proclamation 9645 on September 24, 2017, which permanently restricts travel from the originally targeted countries except Iraq and Sudan, and further bans travelers from North Korea and Chad, along with certain Venezuelan officials. After lower courts partially blocked the new restrictions, the Supreme Court allowed the September version to go into full effect on December 4, and ultimately upheld the travel ban in a June 2019 ruling.