U.S. Rep. Hakeem Jeffries moved a step closer to becoming speaker of the House of Representatives Wednesday, even as two democratic socialists in New York City’s congressional delegation voted against him.

House Democrats backed Jeffries 251-11 in a closed-door, secret-ballot vote, multiple news outlets reported. Jeffries, who ran unopposed, will have to wait until the full House votes to officially claim the gavel, but there’s little doubt now that he’ll become the country’s first Black speaker.

Reps.-elect Claire Valdez and Darializa Avila Chevalier, two members of the Democratic Socialists of America, released a statement with five other members-elect from outside New York explaining their decision to vote against Jeffries’ nomination.

“Whether on Medicare for All, stopping ICE terror, getting money out of politics, or ending the genocide in Gaza, our constituents sent us to Congress with a mandate on these issues,” the group said. “While we have seen meaningful progress, there is still work to be done to ensure that the direction our party takes this coming Congress reflects what our constituents are demanding of leadership. Those conversations are ongoing. As such, our vote in caucus today was no.”

Jeffries, who represents New York's 8th Congressional District in Central Brooklyn, is seen as a centrist who has been reluctant to embrace some of the DSA’s platform, most notably its criticism of Israel. Jeffries waited for months to endorse Mayor Zohran Mamdani’s mayoral run last year, even as he faced off against former Gov. Andrew Cuomo and Republican Curtis Sliwa.

Wednesday’s nomination comes after months of pushback from Jeffries’ left, much of it from his own city. In June’s primaries, Avila Chevalier unseated Rep. Adriano Espaillat, whom Jeffries had endorsed. At Valdez’s primary-night party, her supporters chanted “You’re next!” when Jeffries appeared on a TV screen. Earlier, City Councilmember Chi Ossé, a DSA member, had briefly moved to challenge Jeffries himself but backed off.

Ultimately, Jeffries won the nomination easily. No challenger came forward, and two of the city’s most prominent progressives, Rep. Alexandria Ocasio-Cortez and Mayor Zohran Mamdani, stood by him.

When asked by reporters about the democratic socialists’ comments, Jeffries said he was looking forward to working with all members of his party.

“It’s an honor to be serving with a majority of 260 members from all across the country,” he said. “People who have different perspectives, and we embrace that, but we’re gonna work together to find the highest common denominator in order to make life better for the American people.”

Grace Mauser, co-chair of the city’s chapter of the DSA, applauded the members who resisted supporting Jeffries.

“I am hopeful that the 'no' votes he’s seeing, in conjunction with the thousands of calls his members are getting, remind him that his constituency is not just the Democratic House members, it’s actually all of Americans,” she said. “American voters were very clear earlier this month. They were clear that they want a leader of the Democratic Party with a real backbone.”

She said Jeffries needs to make real progress on issues like Medicare for All, universal childcare and ending the war in Iran.

“If he doesn’t take that seriously, I don’t think he’s equipped to be leader in this moment,” she said.

Brigid Bergin contributed reporting.

This story has been updated with additional information.