term, Trump appointed three justices to the Supreme Court: Neil Gorsuch, Brett Kavanaugh and Amy Coney Barrett – the most appointments of any president in a single term since fellow Republican Richard Nixon. He appointed 260 judges in total, creating overall Republican-appointed majorities on every branch of the federal judiciary except for the Court of International Trade by the time he left office, shifting the judiciary to the right. Other notable achievements during his presidency included the passing of the Tax Cuts and Jobs Act in 2017, the creation of the United States Space Force – the first new independent military service since 1947 – and the brokering of the Abraham Accords, a series of normalization agreements between Israel and various Arab states. The Republican Party did not produce an official party platform ahead of the 2020 elections, instead simply endorsing "the President's America-first agenda", which prompted comparisons to contemporary leader-focused party platforms in Russia and China. Trump was impeached by the House of Representatives on December 18, 2019, on the charges of abuse of power and obstruction of Congress. He was acquitted by the Senate on February 5, 2020. Trump lost reelection to Joe Biden in 2020 but refused to concede, claiming widespread electoral fraud and attempting to overturn the results, to which many attribute the U.S. Capitol being attacked by his supporters on January 6, 2021. Following the attack, the House impeached Trump for a second time on the charge of incitement of insurrection, making him the only federal officeholder in the history of the United States to be impeached twice. He left office on January 20, 2021, but the impeachment trial continued into the early weeks of the Biden administration, with Trump ultimately being acquitted a second time by the Senate on February 13, 2021. Biden presidency (2021–present) In 2022, Supreme Court justices appointed by Trump proved decisive in landmark decisions on gun rights and abortion. Republicans went into that year's midterm elections confident and with most election analysts predicting a red wave, but the party underperformed heavily, with voters in swing states and competitive districts joining Democrats in rejecting candidates endorsed by Trump or that denied the results of the 2020 election. The party won the House but with a narrow majority when a large one had been expected for most of the cycle, and lost the Senate, leading to many Republicans and conservative thought leaders