Dallas, TexasAP —

A California couple’s surrogate who went to Texas in an escalating dispute over treating a congenital heart condition gave birth Wednesday, a day after a judge in Dallas ordered life-sustaining care for the newborn.

The child was receiving stabilizing care and scheduled to undergo surgery at a Texas hospital, according to an attorney for McKenna West, the surrogate mother whose case has drawn widening national support from right-to-life groups and Republican officials.

West was carrying the child for a California couple she has accused of wanting to end the pregnancy after the fetus was diagnosed with hypoplastic left heart syndrome, a life-threatening heart condition.

A judge on Tuesday ordered the child to receive life-sustaining treatment after Republican Texas Attorney General Ken Paxton intervened in support of the surrogate.