MIAMI (AP) _ A state law that sought to ban a certain type of late-term abortion is unconstitutional and cannot be enforced, a federal judge in Miami ruled Tuesday.

The law ``has the unconstitutional purpose and effect of placing a substantial obstacle in the path of women seeking an abortion prior to the fetus attaining viability,'' said U.S. District Judge Donald Graham.