The High Court in Ireland ruled today that a pregnant, brain-dead woman's life support can be turned off.

The unnamed woman's parents and her partner had both wanted life support to be removed.

Doctors had told the court's three judges that the 18-week fetus' chances of survival were low. There have been two similar cases in Ireland since 2001; both fetuses died in the womb.

As we previously told you, the woman suffered a major brain trauma on Nov. 29 and was declared brain dead on Dec. 3. But lawyers for the medical facility said they were afraid of turning off life support because of lawsuits. Ireland is a predominantly Roman Catholic country and its Constitution grants equal rights to a woman and her unborn child.

But the woman's condition was getting worse; her brain was rotting and she had infections, doctors told the court.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.