The last Supreme Court vacancy came in 2020, when liberal Justice Ruth Bader Ginsburg died at age 87, allowing former President Donald Trump to appoint her successor, Justice Amy Coney Barrett, less than two months before the US presidential election.