A baby boy born Thursday morning at Medical City Dallas is at the center of a custody dispute between the biological parents, the surrogate who carried the child, and now Dallas County and the state of Texas.

Attorneys for the surrogate, a woman from Collin County who's successfully served as a surrogate twice before, said she agreed to carry the child for a couple from out of state. But at 16 weeks of pregnancy, doctors discovered the baby had a heart problem.

The surrogate and the biological parents were reportedly informed the child would need life-saving surgery within three to four days of birth after the unborn baby was diagnosed with hypoplastic left heart syndrome (HLHS). HLHS is a birth defect where the left side of the heart is critically underdeveloped and unable to effectively pump blood to the body.

The surrogate said the biological parents informed her in July that because of the diagnosis they didn't want her to carry the baby to term and demanded she have an abortion, which she refused. At that time, the surrogate said, the biological parents discontinued covering her medical costs.

In the interim, both the Dallas County District Attorney’s Office and the Office of the Texas Attorney General have become involved in the case.

Michael Snipes, the first assistant district attorney at the Dallas County District Attorney's Office, confirmed to News 8 that two DAs in the office have been assigned to the case.

“The District Attorney’s Office, specifically the Juvenile Division, is doing whatever we can, whatever it takes, to save this baby’s life,” Snipes said of making sure the child gets the surgery doctors said he needs.

Child Protective Services said they haven't yet been asked to be involved because a court order for intervention hasn't yet been issued.

As of late Thursday afternoon, the fate of the baby is unknown.

The surrogate, per her contract with the biological parents, has no legal standing. Common procedure wouldn't allow the surrogate to see the child after he was born.

Born by C-section, the baby boy is now believed to be in the legal custody of the biological parents at Medical City Dallas, where a decision will be made whether to proceed with the life-saving surgery.

Officials with Medical City Dallas didn't return requests for comment as of late Thursday afternoon. But due to medical privacy standards, it wouldn't be unusual for them to remain silent in such a case.

“We reached out to the doctors involved and expressed our client’s desire and expressed our belief that if the biological parents did not authorize medical care today that other legal avenues will need to be taken,” said Karen Turner, an attorney for the surrogate. “We were hoping to hear from the opposing parents because it would have been the expected or humane or intuitive thing to respond.”

“And another thing important to know, no doctor ever suggested an abortion was appropriate or necessary. Because these babies are born or treated all the time.”

As of Thursday afternoon, WFAA was unable to reach the legal representatives for the biological parents.