President Trump on Saturday evening expressed confidence that the Justice Department would be successful in its appeal of a federal judge's ruling that temporarily blocked his executive action on immigration.

"We'll win. For the safety of the country we'll win," Trump told reporters at his private Mar-a-Lago resort, where he is spending the weekend.

Trump on immigration appeal: "We'll win. For the safety of the country we'll win." pic.twitter.com/ffOPCgtPBv — Jennifer Epstein (@jeneps) February 5, 2017

The Justice Department filed a notice that it will formally appeal Judge James Robart's decision Friday that halted Trump's order.

ADVERTISEMENT

The president's action would deny entry for 90 days to nationals from seven predominantly Muslim countries and halt the nation's refugee program for 120 days.

The case now goes to the U.S. Court of Appeals for the 9th Circuit.

Throughout the day Saturday, Trump criticized Robart, who was appointed by former President George W. Bush and confirmed unanimously by the Senate in a 99-0 vote in 2004.

Trump referred to Robart as a "so-called judge" while blasting his decision as "ridiculous" in tweets throughout the day, claiming that the temporary restraining order blocking his executive action would leave the nation vulnerable to "dangerous people."

"What is our country coming to when a judge can halt a Homeland Security travel ban and anyone, even with bad intentions, can come into U.S.?" Trump wrote in one tweet.

"Because the ban was lifted by a judge, many very bad and dangerous people may be pouring into our country. A terrible decision," he added in another.