In his "Talking Points Memo," Bill O'Reilly railed against judicial activism in the Supreme Court as it pertains to President Obama's immigration actions in the case of United States v. Texas.

The Court appeared split along ideological lines Monday as justices took up Obama's bid to shield millions of undocumented immigrants from deportation and make them eligible to work in the U.S.

Texas is leading 26 states dominated by Republicans in challenging the programs Obama announced in 2014 and that have been put on hold by lower courts.

O'Reilly said: "It is a foregone conclusion that the four liberal justices on the court will decide the issue based on their own political beliefs, not what the Constitution says."

He criticized Justice Sonia Sotomayor for weighing in on immigration policy of Congress, when she commented on the economic impact of illegal immigrants and steps taken by Congress to deal with it.

"Justice Sonia Sotomayor is NOT supposed to be concerned with forging policy for this nation. She does NOT have oversight over what Congress should do. Her job is to rule on established law, not create it."

Watch the full commentary above.