WASHINGTON (AP) -- The Obama administration will ask the Supreme Court to weigh in on the president's plan to shield as many as 5 million immigrants living in the country illegally from deportation.

The 5th U.S. Circuit Court of Appeals on Monday upheld a Texas-based federal judge's injunction blocking President Barack Obama's plan to protect parents of U.S. citizens and legal permanent residents along with more immigrants who came to the country as children.

The Justice Department says it disagrees with the 2-1 ruling and will appeal to the high court.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.