Bill O'Reilly said a stand-alone vote on Kate's Law would put lawmakers to the test and -- in his opinion -- disqualify any Democratic senators who oppose it from holding office.

The proposal would impose a mandatory five-year prison sentence on felons caught trying to re-enter the U.S. after being deported.

Sen. Ted Cruz (R-Tex.) re-introduced a stand-alone version after Democrats voted down a bill to defund sanctuary cities that included the provision.

It's named for 32-year-old Kathryn Steinle, who was fatally shot in San Francisco in July by a repeat felony offender who re-entered the country illegally from Mexico.

O'Reilly told "Fox and Friends Weekend"'s Anna Kooiman that he hopes the measure gets to the floor quickly.

"Who would oppose that really? Who on earth would oppose that law? And yet, you have, I guess, a number of Democratic senators who are going to vote against it. If they do, that, to me, disqualifies them from holding office.”

O'Reilly said he promised Steinle's family that he would push for the bill.

"I feel so sorry for them," O'Reilly said. "Everyone knows that a beautiful 32-year-old woman walking in a public place gets killed by a guy who had seven felony convictions here, deported five times and came back six. And you don't want to incarcerate this man in a mandatory way? How can you live with yourself by opposing that law? I feel very strongly that this has to happen to send a message to President Obama and everybody else. You have got to stop this.”

Watch the full interview above.