House Minority Leader Rep. Kevin McCarthy (R-CA) spoke out on Sunday to warn that Rep. Nancy Pelosi (D-CA) is just ten Democratic votes away from losing the House Speaker race.

McCarthy said this on Fox News after his party successfully flipped at least seven seats from blue to red as well as an eighth seat in Michigan that was most recently occupied by a Libertarian. Pelosi has since announced that she will be running for Speaker again, but McCarthy is warning that her win is not a sure thing given the shrinking Democratic majority.

“To become speaker, you have to have 218 votes on the floor,” he said. “When she went up for that vote two years ago, there were 15 Democrats who voted against her. Ten of those Democrats will be coming back to Congress. If those 10 vote against her again, she will not be speaker of the House … because of the gains of the Republicans.”

“We are close enough now that we can control the floor with a few Democrats joining with us,” McCarthy added.

Not stopping there, the conservative lawmaker added that Americans everywhere are rejecting socialism by voting Republicans into power. He specifically cited the fact that Republican women were elected in places like California, New York, and Florida, setting a record for the number of women who were elected.

“We won by Republican women winning,” McCarthy said. “That says something about what President Trump has been able to do – to expand this party, bring diversity, and that brings strength. The same thing that brings strength to America, diversity, is now in the Republican Party as well.”

Pelosi wasted no time in announcing that she would be running for Speaker again as she also asked Democrats for their support.

“Our vision for the next two years must be built on the success of Democratic House Majority in the 116th Congress, and to harness the extraordinary visions, values and vibrancy of our Caucus to secure the progress that the American people deserve,” Pelosi wrote in a letter to Democrats last week.

“In that spirit, I am writing to request your support to be re-elected as Speaker. I do so with the utmost respect for the diverse viewpoints in our Democratic Caucus, the gravity of this role the urgency of the challenges ahead,” she added. “I also do so with the great joy and appreciation to so many of you who have already offered your support.”

It remains to be seen how this will work out for Pelosi.