President Barack Obama told Democratic donors Wednesday that U.S. Supreme Court nominations hang in the balance of this year’s midterm elections.

Speaking at a Democratic Senatorial Campaign Committee fundraiser, Obama linked the party’s goal—keeping control of the Senate—to a number of policy issues and to who might eventually sit on the nation’s highest court.