WASHINGTON, DC  OCTOBER 10: U.S. President Donald Trump  discusses the potential impact of Hurricane Michael during a meeting with Homeland Security Secretary Kirstjen Nielsen and FEMA Administrator Brock Long in the Oval Office of the White House on October 10, 2018 in Washington, DC. Hurricane Michael has recently been upgraded to a category 4 storm. (Photo by Win McNamee/Getty Images)
Win McNamee/Getty Images
WASHINGTON, DC OCTOBER 10: U.S. President Donald Trump discusses the potential impact of Hurricane Michael during a meeting with Homeland Security Secretary Kirstjen Nielsen and FEMA Administrator Brock Long in the Oval Office of the White House on October 10, 2018 in Washington, DC. Hurricane Michael has recently been upgraded to a category 4 storm. (Photo by Win McNamee/Getty Images)
Now playing
02:57
Trump fires back after Roberts rebukes him (2018)
CNN
Now playing
03:14
'Performative outrage': Avlon on GOP backlash to Rep. Waters
Two Honduran children found clinging to an island surrounded by a powerful current in the Rio Grande were rescued by Border Patrol agents and taken into custody, the region's top border official said, the latest example of the dangers migrants face as a growing number desperately attempt to reach the US.
U.S. Border Patrol
Two Honduran children found clinging to an island surrounded by a powerful current in the Rio Grande were rescued by Border Patrol agents and taken into custody, the region's top border official said, the latest example of the dangers migrants face as a growing number desperately attempt to reach the US.
Now playing
02:22
See Border Patrol rescue 2 migrant children in Rio Grande
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Andrew Harnik/Pool/Getty Images
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Now playing
02:59
Enten: Biden is focused on what Americans care about
CNN
Now playing
02:40
Biden says he's praying for 'right verdict' in Chauvin trial
ST. PAUL, MN - NOVEMBER 6:  Former U.S. Vice President Walter Mondale concedes the election to his Republican opponent Norm Coleman November 6, 2002 in St. Paul, Minnesota. Mondale and Coleman were in a race for U.S. Senate that was too close to call the evening before.  (Photo by Mark Erickson/Getty Images)
Mark Erickson/Getty Images
ST. PAUL, MN - NOVEMBER 6: Former U.S. Vice President Walter Mondale concedes the election to his Republican opponent Norm Coleman November 6, 2002 in St. Paul, Minnesota. Mondale and Coleman were in a race for U.S. Senate that was too close to call the evening before. (Photo by Mark Erickson/Getty Images)
Now playing
03:00
Walter Mondale dies at 93
george w bush congress immigration rhetoric cbs intv sot mxp vpx_00000000.png
george w bush congress immigration rhetoric cbs intv sot mxp vpx_00000000.png
Now playing
01:25
Bush calls on Congress to tone down 'harsh rhetoric' on immigration
WASHINGTON, DC - MARCH 23: Sen. Ted Cruz (R-TX) speaks at a Senate Judiciary Committee hearing on "Constitutional and Common Sense Steps to Reduce Gun Violence" on March 23, 2021 in Washington, DC.  Many senators spoke both for and against gun control the day after a shooting in Boulder, Colorado where a gunman opened fire at a grocery store, killing ten people. (Photo by Tasos Katopodis/Getty Images)
Tasos Katopodis/Getty Images
WASHINGTON, DC - MARCH 23: Sen. Ted Cruz (R-TX) speaks at a Senate Judiciary Committee hearing on "Constitutional and Common Sense Steps to Reduce Gun Violence" on March 23, 2021 in Washington, DC. Many senators spoke both for and against gun control the day after a shooting in Boulder, Colorado where a gunman opened fire at a grocery store, killing ten people. (Photo by Tasos Katopodis/Getty Images)
Now playing
03:18
Berman on Cruz's latest tweet: 'The pot calling the kettle violent'
Now playing
01:57
Chuck Hagel criticizes Trump's statement on Afghanistan
gun laws shootings Comer pamela brown nr vpx _00015627.png
CNN
gun laws shootings Comer pamela brown nr vpx _00015627.png
Now playing
02:23
'I can't answer that': Kentucky lawmaker responds to CNN on gun policy
Now playing
02:39
National security adviser: Russia will face consequences if Navalny dies in prison
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Drew Angerer/Getty Images
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Now playing
03:20
Marjorie Taylor Greene lashes out at media after backlash over controversial caucus
AP
Now playing
03:16
Maxine Waters: Jim Jordan is a bully and I shut him down
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
NICHOLAS KAMM/AFP/Getty Images
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
Now playing
03:51
Marjorie Taylor Greene launching 'America First' caucus
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
JIM WATSON/AFP/Getty Images
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
Now playing
02:22
White House backtracks on refugees decision after criticism
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Andrew Harnik/Pool/Getty Images
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Now playing
02:44
'National embarrassment': Biden reacts to mass shootings
(CNN) —  

President Donald Trump fired back Wednesday after Chief Justice John Roberts issued a rare rebuke of the President’s disparaging remarks about federal judges.

“We do not have Obama judges or Trump judges, Bush judges or Clinton judges,” Roberts said in a statement responding to comments Trump made earlier in the week criticizing the US 9th Circuit Court of Appeals. “What we have is an extraordinary group of dedicated judges doing their level best to do equal right to those appearing before them. That independent judiciary is something we should all be thankful for.”

Trump, in a response later Wednesday, stood by his comments from the previous day that prompted Roberts’ statement.

“Sorry Chief Justice John Roberts, but you do indeed have ‘Obama judges,’ and they have a much different point of view than the people who are charged with the safety of our country. It would be great if the 9th Circuit was indeed an ‘independent judiciary,’ but if it is why……” Trump tweeted.

Several minutes later, he continued, “…..are so many opposing view (on Border and Safety) cases filed there, and why are a vast number of those cases overturned. Please study the numbers, they are shocking. We need protection and security - these rulings are making our country unsafe! Very dangerous and unwise!”

Roberts’ comment came in response to an inquiry from The Associated Press. On Tuesday, Trump slammed the 9th US Circuit again, this time after a judge from the Northern District of California – where cases get appealed to the 9th Circuit – issued a temporary restraining order blocking the Trump administration from barring migrants who cross into the US illegally from seeking asylum.

“It’s a disgrace when every case gets filed in the 9th Circuit,” Trump said as part of a lengthy criticism of the court. “That’s not law. Every case in the 9th Circuit we get beaten and then we end up having to go to the Supreme Court like the travel ban and we won. Every case, no matter where it is, they file is practically, for all intents and purposes, they file it in what’s called the 9th Circuit. This was an Obama judge. I’ll tell you what, it’s not going to happen like this anymore.”

Roberts, who then-President George W. Bush tapped to lead the Supreme Court, is the highest authority in the federal judiciary, and his remark was a rare direct response to the head of the Executive Branch.

Speaking at the University of Minnesota Law School in October, Roberts emphasized the Supreme Court’s independence and differences from the other branches.

“I will not criticize the political branches,” Roberts said. “We do that often enough in our opinions. But what I would like to do, briefly, is emphasize how the judicial branch is – how it must be – very different.”

Trump has been a frequent critic of the 9th Circuit, and just a few months into his presidency, he said he was considering breaking up the circuit that covers a slew of Western states, including the key border states of California and Arizona, and Guam.

Several of his most controversial policies have been held up by judges there, and the temporary block on his attempt to rewrite asylum rules marked the latest such instance.

RELATED: John Roberts played the long game. He just won.

In addition to his criticism of the 9th Circuit, Trump has previously attacked Roberts as well.

While he was a presidential candidate, Trump in 2016 called Roberts a “nightmare for conservatives” in an interview on ABC. He also said in the interview that “Justice Roberts could’ve killed Obamacare and should’ve, based on everything – should’ve killed it twice,” a reference in part to Roberts casting the deciding vote in June 2012 to save President Barack Obama’s signature legislative achievement, the Affordable Care Act. Roberts voted again in 2015 in favor of supporting Obamacare.

More concisely, Trump tweeted after Roberts’ first vote in favor of Obamacare in 2012, “Congratulations to John Roberts for making Americans hate the Supreme Court because of his BS.”

This story has been updated to add additional information about President Donald Trump and Supreme Court Chief Justice John Roberts’ relationship.

CNN’s Jeremy Diamond and Ariane de Vogue contributed to this report.