Today the U.S. House of Representatives rejected a measure banning abortions based on the sex of a fetus.

In the House, 246 representatives backed the bill while 168 voted against it, leaving the proposal short of the two-thirds total necessary for passage. Most Republicans supported the measure; the majority of Democrats opposed it.

The Prenatal Nondiscrimination Act would have imposed possible fines and prison sentences of up to five years on doctors who knowingly perform abortions chosen on grounds based on sex.

Abortion providers could also have been subjected to civil penalties, including punitive monetary damages, under certain circumstances.