President Donald Trump said Justices Sonia Sotomayor and Ruth Bader Ginsburg should recuse themselves from cases involving his administration, as a result of their past anti-Trump comments.

“I just don’t know how they can not recuse themselves for anything having to do with Trump or Trump-related,” he said.

Trump pointed to Justice Sotomayor for her comments criticizing his administration’s relationship with the Supreme Court.

After the Supreme Court granted the Trump administration’s request to stay an injunction against the new public charge law, Sotomayor subtly criticized conservative justices on the court for siding with Trump in the majority of “emergency” immigration cases.

“Perhaps most troublingly, the Court’s recent behavior on stay applications has benefited one litigant over all others,” she wrote.

Trump said that her remarks were “terrible” and unfit for the Supreme Court.

“A Supreme Court Justice is a different standard but at the same time I think it’s a higher standard in a certain sense,” Trump said.

He criticized Sotomayor for trying to shame her fellow justices into ruling against his administration.

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

The president also referred to Justice Ginsberg’s comment he was a “faker” in 2016 after admitting afterward the comment was “ill-advised” and she would avoid commenting on a candidate for president in the future.

Trump also spoke about the bias from the two justices on Twitter.