HOMEWOOD, Ala. (AP) — A firebrand Alabama jurist wrested a U.S. Senate nomination from an appointed incumbent backed by millions of dollars from national Republicans, adding a new chapter Tuesday to an era of outsider politics that ushered Donald Trump into the White House yet leaves his presidency and his party in disarray.

Roy Moore’s 9-point victory over Sen. Luther Strange, backed by the White House and Republican leaders on Capitol Hill, ranks as a miscalculation and temporary embarrassment for the president; it’s a more consequential rebuke for Senate Majority Leader Mitch McConnell, whom Moore said should step aside as GOP floor chief.

The Kentucky Republican already is struggling to capitalize on his narrow 52-48 majority. He failed this week to deliver a long-promised health care overhaul, with equally perilous fights looming on taxes, the budget, immigration and the nation’s credit limit. Now, McConnell may also face a 2018 midterm election cycle complicated by GOP primary challengers who, like Moore, make the Senate leader an albatross for establishment candidates, including incumbents Dean Heller of Nevada and Jeff Flake of Arizona.