PHOTO: india hayes/cnn
Now playing
02:44
Transgender identity, in their words
Now playing
01:33
Chuck Schumer announces timeline for Trump impeachment
Registered nurse Irene Musni administers the COVID-19 vaccine into the arm of a senior citizen at the Corona High School gymnasium in the Riverside County city of Corona, California on January 15, 2021, a day after California began offering the coronavirus vaccine to residents 65 and older. - US President-elect Joe Biden was set to announce his Covid-19 vaccine rollout plan Friday as he bids to wrest the focus from the impeachment of Donald Trump to the agenda for his first days in office.
Biden has said he wants 100 million Americans to receive shots during his first 100 days in office, an ambitious goal that would require a big step up in the current pace of distribution. (Photo by Frederic J. BROWN / AFP) (Photo by FREDERIC J. BROWN/AFP via Getty Images)
Registered nurse Irene Musni administers the COVID-19 vaccine into the arm of a senior citizen at the Corona High School gymnasium in the Riverside County city of Corona, California on January 15, 2021, a day after California began offering the coronavirus vaccine to residents 65 and older. - US President-elect Joe Biden was set to announce his Covid-19 vaccine rollout plan Friday as he bids to wrest the focus from the impeachment of Donald Trump to the agenda for his first days in office. Biden has said he wants 100 million Americans to receive shots during his first 100 days in office, an ambitious goal that would require a big step up in the current pace of distribution. (Photo by Frederic J. BROWN / AFP) (Photo by FREDERIC J. BROWN/AFP via Getty Images)
PHOTO: Frederic J. Brown/AFP/Getty Images
Now playing
01:55
Race to vaccinate before more contagious Covid-19 strains spread
WASHINGTON, DC - JANUARY 22: U.S. President Joe Biden signs an executive order as Vice President Kamala Harris looks on during an event on economic crisis in the State Dining Room of the White House January 22, 2021 in Washington, DC. President Biden spoke on his administration
WASHINGTON, DC - JANUARY 22: U.S. President Joe Biden signs an executive order as Vice President Kamala Harris looks on during an event on economic crisis in the State Dining Room of the White House January 22, 2021 in Washington, DC. President Biden spoke on his administration's response to the economic crisis that caused by the COVID-19 pandemic and signed two executive orders. (Photo by Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images North America/Getty Images
Now playing
02:31
Biden zeroes in on the teetering economy in first week
A group of protesters shield themselves from chemical irritants as they demonstrate Wednesday evening, Jan. 20, 2021, outside the U.S. Immigrations and Customs Enforcement (ICE) building in Portland, Ore. (Assfault Pirates via AP)
A group of protesters shield themselves from chemical irritants as they demonstrate Wednesday evening, Jan. 20, 2021, outside the U.S. Immigrations and Customs Enforcement (ICE) building in Portland, Ore. (Assfault Pirates via AP)
PHOTO: Paul L/AP
Now playing
04:04
Portland protesters explain why they are taking to the streets
Hank Aaron, Milwaukee Braves
Hank Aaron, Milwaukee Braves' outfielder, is shown in a posed batting portrait at the Polo Grounds, Brooklyn, during the exhibition season, 1954. (AP Photo)
PHOTO: AP
Now playing
02:30
Hank Aaron, baseball legend and former home run king, dies at 86
PHOTO: CNN
Now playing
01:23
Schumer says articles of impeachment will be delivered Monday
US President Joe Biden listens to the US National Anthem during the virtual Presidential Inaugural Prayer Service hosted by the Washington National Cathedral, in the State Dining Room of the White House in Washington, DC, on January 21, 2021. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
US President Joe Biden listens to the US National Anthem during the virtual Presidential Inaugural Prayer Service hosted by the Washington National Cathedral, in the State Dining Room of the White House in Washington, DC, on January 21, 2021. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:02
Biden unveils Covid-19 plan on first full day in office
Now playing
00:00
Dr. Fauci vows to be 'completely transparent' on Covid-19
Iraqi security forces keep guard the site of a suicide attack in Baghdad, Iraq January 21, 2021. REUTERS/Thaier al-Sudani
Iraqi security forces keep guard the site of a suicide attack in Baghdad, Iraq January 21, 2021. REUTERS/Thaier al-Sudani
PHOTO: Thaier al-Sudani/Reuters
Now playing
02:42
Dozens killed and hundreds injured in Baghdad suicide blasts
PHOTO: CNN
Now playing
05:46
Dr. Gupta on Covid-19: This is the worst it's ever been
Now playing
03:04
Avlon: QAnon supporters left desperate and disillusioned
Now playing
03:17
Many believed conspiracy theories about Trump and the election. Now, they're losing faith
PHOTO: Courtesy Owen Harrington
Now playing
04:22
He bonded with Biden over stutter. Then got call to speak at inauguration
US President Joe Biden swears in presidential appointees during a virtual ceremony in the Oval Office of the White House in Washington, DC, after being sworn in at the US Capitol on January 20, 2021. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
US President Joe Biden swears in presidential appointees during a virtual ceremony in the Oval Office of the White House in Washington, DC, after being sworn in at the US Capitol on January 20, 2021. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
PHOTO: JIM WATSON/AFP via Getty Images
Now playing
01:29
'I'll fire you on the spot': Biden tells staff to treat others with respect
President Joe Biden signs his first executive order in the Oval Office of the White House on Wednesday, Jan. 20, 2021, in Washington. (AP Photo/Evan Vucci)
President Joe Biden signs his first executive order in the Oval Office of the White House on Wednesday, Jan. 20, 2021, in Washington. (AP Photo/Evan Vucci)
PHOTO: Evan Vucci/AP
Now playing
02:56
Biden signs executive actions aimed at dismantling Trump's policies
Harris
Harris
PHOTO: Senate Tv
Now playing
02:01
A proud Harris smiles as she swears in new senators in her new role
(CNN) —  

A Dallas judge has ruled that both parents should have joint custody of a 7-year-old whose gender identity became central to their court battle, which drew attention from politicians across Texas.

The judge’s order came just days after a jury rendered a verdict giving the mother sole conservatorship of the child.

In her ruling, Judge Kim Cooks said a “substantial change in circumstances with child or parent,” warranted her decision to award joint custody.

The child was considered to be male at birth. The mother, pediatrician Anne Georgulas, has argued the child is a transgender girl. The father, Jeffrey Younger, maintains the child is a boy.

CNN is not naming the 7-year-old to protect the child’s privacy.

In 2018, Georgulas filed a lawsuit seeking to modify her custody agreement with Younger. She wanted Younger to affirm the child with a girl’s name inside and outside the home, among other requests essentially forcing the father to embrace the child’s gender expressions. Judge Kim Cooks ultimately denied the request, saying Friday that “the Court finds that the State of Texas has no compelling interest to justify such interference.”

But the judge ruled that Georgulas did not make a request to be appointed sole managing conservator, nor did she make a request to surgically or chemically transition the child’s sex or chemically castrate the child. Younger has previously accused Georgulas of wanting to medically transition the child.

The judge also ruled that “there has been no abuse, neglect, or family violence by either parent,” but she also ordered the father and mother to each attend family counseling with the child and the child’s twin, a boy.

And the judge placed a “permanent injunction” on the parents, preventing them from talking about the case to the media. This essentially shuts down Younger’s efforts to publicize the case by creating a blog and taking part in many media interviews.

The judge ruled that the child “appears comfortable as a male, female, or gender nonspecific.”

The judge’s decision, issued Thursday, means that both parents will have a say in any medical decisions involving their child’s gender.

Governor, senator weigh in

The case became a political flashpoint after Younger started a website about the case, received donations of about $139,000, and allowed media to interview him and the child, court documents say. The website is no longer live.

The case drew reaction from Gov. Greg Abbott and US Sen. Ted Cruz, both Republicans.

In response to the jury’s Monday decision to grant Georgulas sole custody, Cruz tweeted: “A 7-year-old child doesn’t have the maturity to make profound decisions like this. The state of Texas should protect this child’s right to choose — as an informed, mature person — and not be used as a pawn in a left-wing political agenda.”

Abbott also tweeted that the Texas Attorney General’s Office and the Texas Department of Family and Protective Services were looking into the case.

A day before the judge issued her ruling, First Assistant Attorney General Jeff Mateer sent a letter to the Texas Department of Family and Protective Services to investigate Younger’s claims of abuse.

Marissa Gonzales, a spokesperson with the Texas Department of Family and Protective Services, said the department “has begun investigating the allegations,” responding to the letter sent by the attorney general on Thursday. “

CNN has reached out to both Cruz and Abbott for their reaction to the judge’s ruling on Thursday.

The American Academy of Pediatrics says that by around age 2, children typically become aware of physical differences between boys and girls. By 3, most can easily identify themselves as one or the other. By 4, “Most children have a stable sense of their gender identity,” the AAP says on its Healthy Children website.

Judge cites father’s ‘initially valid concerns’

“The Court finds that the Father may have initially had valid concerns regarding his children and the Mother making crucial decisions without his input,” the ruling said.

“However, the Court finds that the Father finds comfort in public controversy and attention surrounded by the use of unfounded facts and is thus motivated by the financial gain of approximately $139,000 he has received at the cost of the protection and privacy of his children.”

Jeffrey Younger, the father, said he thinks it is “more important for the public to know what’s going on with the court than have his child live a private life.”

Lawyers for Georgulas and Younger did not return CNN requests for comment.

The judge’s ruling also said both parents must agree on topics like medication, surgical and psychological treatment. A parenting coordinator was appointed to the family, according to court documents.

CNN’s Sheena Jones contributed to this report.