NASHVILLE, Tenn. (AP) — A federal appeals court ruled Friday that Tennessee can begin outlawing abortions because of a prenatal diagnosis of Down syndrome, as well as prohibit the procedure if it’s based on the race or gender of the fetus.

Tennessee Republican Gov. Bill Lee enacted the so-called “reason bans” earlier this year as part of a sweeping anti-abortion measure. The law gained national attention because it banned abortion as early as six weeks — making it one of the strictest in the country — but it included several other anti-abortion components.