Democrats made a clean sweep in the three biggest contested elections in the United States on Tuesday night.

The top Democrat in the Senate, Minority Leader Chuck Schumer of New York, even before the races were called, said that their outcomes were a sharp rebuke to President Donald Trump, a Republican.

Trump, in a social media post, said that unnamed “pollsters” concluded that the reason Republicans lost on Tuesday was because he was not on the ballots, and because of the ongoing federal government shutdown, which began on Oct. 1.

The winners include Zohran Mamdani, a Muslim and self-described democratic socialist who will become the next mayor of New York City, according to NBC News projections.

In New Jersey, Mikie Sherrill is projected to become the next governor.