WASHINGTON (AP) — House Speaker John Boehner says a federal judge's ruling temporarily blocking President Barack Obama's executive action on immigration underscores that he acted beyond his authority.

In a statement Tuesday, the Ohio Republican said the ruling by a Texas judge was no surprise, citing Obama's repeated comments about the limits of his authority. Boehner said he hoped that Senate Democrats will relent in their opposition to a Homeland Security Department spending bill that overturns Obama's actions to spare millions of immigrants from deportation.

The department's funding expires Feb. 27 and Congress has only a few legislative days to act.

Sen. John Cornyn of Texas, the No. 2 Republican in the Senate, said in a statement that he hoped Obama obeys the court's ruling. The Justice Department has said it would appeal.

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