Deputy Health and Human Services Secretary Alex Azar meets reporters at the HHS Department in Washington, Thursday, June 8, 2006 to announce the approval of Gardasil, the first vaccine developed to protect women against cervical cancer.  (AP Photo/Evan Vucci)
EVAN VUCCI/AP
Deputy Health and Human Services Secretary Alex Azar meets reporters at the HHS Department in Washington, Thursday, June 8, 2006 to announce the approval of Gardasil, the first vaccine developed to protect women against cervical cancer. (AP Photo/Evan Vucci)
Now playing
00:49
Trump picks Alex Azar to lead HHS
Now playing
01:26
Sarah Sanders: I was kicked out of restaurant
U.S. Secretary of Homeland Security Kirstjen Nielsen speaks on migrant children being separated from parents at the southern border during a White House daily news briefing at the James Brady Press Briefing Room of the White House June 18, 2018 in Washington, DC. Nielsen joined White House Press Secretary Sarah Sanders at the daily news briefing to answer questions from members of the White House Press Corps.
Alex Wong/Getty Images
U.S. Secretary of Homeland Security Kirstjen Nielsen speaks on migrant children being separated from parents at the southern border during a White House daily news briefing at the James Brady Press Briefing Room of the White House June 18, 2018 in Washington, DC. Nielsen joined White House Press Secretary Sarah Sanders at the daily news briefing to answer questions from members of the White House Press Corps.
Now playing
01:18
Protesters confront Secy. Nielsen at restaurant
Richard Grenell, nominee to be US ambassador to Germany, testifies during a Senate Foreign Relations Committee hearing on Capitol Hill in Washington, DC, September 27, 2017. (SAUL LOEB/AFP/Getty Images)
SAUL LOEB/AFP/Getty Images
Richard Grenell, nominee to be US ambassador to Germany, testifies during a Senate Foreign Relations Committee hearing on Capitol Hill in Washington, DC, September 27, 2017. (SAUL LOEB/AFP/Getty Images)
Now playing
00:42
US envoy remarks to Brietbart provoke backlash
KANAB, UT - MAY 10: U.S. Secretary of the Interior Ryan Zinke talks to reporters before departing Kanab Airport on May 10, 2017 in Kanab, Utah. Zinke has been in the state of Utah since Sunday talking with state and local officials and touring the Bears Ears National Monument and Grand Staircase-Escalante National Monument, to help determine their future status under the Trump Administration. (Photo by George Frey/Getty Images)
George Frey/Getty Images
KANAB, UT - MAY 10: U.S. Secretary of the Interior Ryan Zinke talks to reporters before departing Kanab Airport on May 10, 2017 in Kanab, Utah. Zinke has been in the state of Utah since Sunday talking with state and local officials and touring the Bears Ears National Monument and Grand Staircase-Escalante National Monument, to help determine their future status under the Trump Administration. (Photo by George Frey/Getty Images)
Now playing
01:41
Zinke claims to be geologist, again
CNN
Now playing
02:39
All the Trump officials who threatened to quit
CIA nominee Gina Haspel is sworn in during a confirmation hearing of the Senate Intelligence Committee on Capitol Hill, Wednesday, May 9, 2018 in Washington. (AP/Alex Brandon)
Alex Brandon/AP
CIA nominee Gina Haspel is sworn in during a confirmation hearing of the Senate Intelligence Committee on Capitol Hill, Wednesday, May 9, 2018 in Washington. (AP/Alex Brandon)
Now playing
02:33
Haspel balks on morality of torture program
Getty Images
Now playing
02:26
Trump's Cabinet faces travel scrutiny
david jolly
CNN
david jolly
Now playing
00:46
Ex-lawmaker rips Trump's 'first-rate grifters'
US Secretary of Housing and Urban Development Ben Carson speaks to employees on his first day at the Department of Housing and Urban Development March 6, 2017 in Washington, DC. / AFP PHOTO / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
BRENDAN SMIALOWSKI/AFP/Getty Images
US Secretary of Housing and Urban Development Ben Carson speaks to employees on his first day at the Department of Housing and Urban Development March 6, 2017 in Washington, DC. / AFP PHOTO / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
02:58
Complaint filed over Carson's office expenses
david jolly
CNN
david jolly
Now playing
00:58
Jolly: No accountability in this administration
Interior Secretary Ryan Zinke delivers a speech billed as "A Vision for American Energy Dominance" at the Heritage Foundation on September 29, 2017 in Washington, DC.
Mark Wilson/Getty Images
Interior Secretary Ryan Zinke delivers a speech billed as "A Vision for American Energy Dominance" at the Heritage Foundation on September 29, 2017 in Washington, DC.
Now playing
03:11
Interior secretary's trips may have violated law
Now playing
00:46
Trump: I'm not undercutting Tillerson
Drew Angerer/Getty Images
Now playing
03:10
Bannon out as White House chief strategist
petersen nominee 02
Senate TV
petersen nominee 02
Now playing
02:25
Trump nominee can't answer basic law questions
Assistant to the US President Donald Trump Anthony Scaramucci takes part in a meeting on the theme "Monetary Policy: Where Will Things Land?" on the opening day of the World Economic Forum, on January 17, 2017 in Davos.
FABRICE COFFRINI/AFP/Getty Images
Assistant to the US President Donald Trump Anthony Scaramucci takes part in a meeting on the theme "Monetary Policy: Where Will Things Land?" on the opening day of the World Economic Forum, on January 17, 2017 in Davos.
Now playing
02:34
Scaramucci: Priebus a 'paranoid schizophrenic'
(CNN) —  

A federal judge has ruled against the Department of Health of Human Services’ decision to end a grant program aimed at curbing teen pregnancy — the fifth such ruling against the agency.

Judge Ketanji Brown Jackson of the US District Court for the District of Columbia on Friday decided in favor of the plaintiff in a class-action lawsuit against the agency.

The suit was filed in April by Healthy Futures of Texas, a nonprofit that aims to reduce teen and unplanned pregnancies, on behalf of itself and 61 other “similarly situated” organizations. All of the organizations had received five-year program grants from HHS’s Teen Pregnancy Prevention Program, but were informed last summer that their funding would end two years early on June 30, 2018.

Jackson ruled that HHS’s early termination of the funding was unlawful and ordered the department to proceed “as if the agency had not undertaken to shorten these grantees’ federal awards.” The judge had previously ruled against the termination of the funding in April in a case brought by groups in North Carolina and South Carolina.

“With this decision, our youth now have the chance for better health, educational attainment and economic opportunities that will change their lives,” Evelyn Delgado, the president and CEO of Healthy Futures of Texas, said in a statement.

Brown’s decision is the fifth such ruling against HHS on the issue, coming on the heels of a ruling out of Washington state earlier this week. The five district court decisions mean that virtually all of the 84 grant recipients will have their funding restored.

“There’s really no legal action left at the district court level,” Sean Sherman, an attorney for Public Citizen Litigation Group who represented the plaintiffs in the class-action suit, told CNN. “All of the courts have now said unanimously that all of these terminations were unlawful.”

Caitlin Oakley, a spokesperson for HHS, called the ruling “disappointing” and said studies had shown the program to be ineffective.

“Continuing the program in its current state does a disservice to the youth it serves and to the taxpayers who fund it. Communities deserve better, and we are considering our next steps,” Oakley said in a statement.

Last summer, the Trump administration decided to end grant funding for the Teen Pregnancy Prevention Program. In an August statement, the department said it was reviewing best approaches after evaluating the first round of initiatives from the grant funding. The program was created by a congressional directive in 2010 to fund youth-focused programs and study their effectiveness in curbing adolescent pregnancy.

CORRECTION: This story has been updated to reflect that Jackson’s decision is the fifth such ruling against the agency and Jackson had made one of the previous rulings.

CNN’s Jacqueline Howard contributed to this report.