Riffing off Laura Ingraham’s commentary on her Fox News show, Trump used Sotomayor’s dissent as a jumping-off point to hit the pair of liberal justices.

“She’s trying to shame people with perhaps a different view into voting her way, and that’s so inappropriate,” Trump said of Sotomayor to reporters.

The president also criticized Ginsburg for her comments during his 2016 campaign, when she called Trump a “faker” who “has no consistency about him” and “really has an ego” to CNN and told The New York Times that “I can’t imagine what the country would be with Donald Trump as our president.”

Trump at the time called on Ginsburg to resign, and she later apologized.

Trump’s call for the two justices to recuse themselves comes as the Supreme Court prepares next month to tackle several issues directly involving the president. On March 31, the court will hear back-to-back oral arguments on cases that ask whether the president must comply with congressional subpoenas for his financial records and if he is immune from state criminal investigations while serving in the White House.

On Tuesday, Trump didn’t offer details of why he thought Sotomayor’s dissent should prompt her recusal, beyond repeating that it was inappropriate and telling a reporter, “You know what the statement is.”

His tweet several hours earlier quoted a Fox News headline — “Sotomayor accuses GOP appointed Justices of being biased in favor of Trump” — but not Sotomayor's dissent.

Darren Samuelsohn contributed to this report.