US House of Representatives passed legislation on Tuesday that would ban late-term abortions, although it's unlikely to ever become law.

The vote was 228-196, with six Democrats and all but six Republicans voting for the measure. The bill would exempt women who are victims of rape or incest as long as they first report the crime to authorities. However, it has no chance of becoming law with Democrats controlling the Senate and the White House threatening to veto it.

The measure, which would ban abortion after 22 weeks of pregnancy based on the medically disputed theory that fetuses are capable of feeling pail. However, whether fetuses can feel pain at 20 weeks is still disputed. But it's been used as a justification to pass similar bills in multiple states over the past several years.

"The bill strengthens (Republicans) with their pro-life constituency, but that base is already secure," said Larry Sabato, politics professor at the University of Virginia. "This can't help the GOP broaden its appeal among women, independents, and the young."

Republican Representatives Virginia Foxx of North Carolina and Marsha Blackburn of Tennessee helped manage debate on the bill. Foxx emotionally urged her fellow lawmakers to pass it.

"We wanted to have as many women voices speaking to the bill," said Arizona Republican Trent Franks, who wrote the legislation. Franks suggested that pro-choice advocates were trying to undermine efforts by diverting attention away from the substance of the bill.

"They have said it's all men. They haven't addressed the bill directly," he told reporters before votes were cast.