WASHINGTON (AP) -- In an assault on one of President Barack Obama's top domestic priorities, House Republicans approved measures Wednesday that would overturn his immigration actions and remove protections for immigrants brought illegally to the country as children.

Despite a White House veto threat, Republicans attached language blocking Obama's immigration initiatives to legislation providing nearly $40 billion to finance the Homeland Security Department through the rest of the budget year.

The broader bill was expected to be approved later in the day.

Rep. Luis Gutierrez, D-Ill., a leading advocate in the House for comprehensive immigration reform. (AP Photo/J. Scott Applewhite)

Republicans said Obama's executive actions on immigration were an unconstitutional overreach that must be stopped.

"If in the future a Republican president does the same thing, I will be the first to be here with you to stand against that to fight back," said Rep. Mick Mulvaney of South Carolina. "Law is not made at the White House."

But Rep. Luis Guiterrez, D-Ill., accused Republicans of "viciousness" for trying to make it easier to deport immigrants brought to the U.S. as children. Rep. David Price, D-N.C., called the GOP effort "a political vendetta," adding, "It's a reprehensible, reckless tactic which will compromise, has already compromised, the full and effective functioning of our Homeland Security Department" at a time of heightened security risks.

The House voted 237-190 to approve one amendment to undo executive actions that Obama announced in November to provide temporary deportation relief to some 4 million immigrants in the country illegally. A second amendment would delete Obama's 2012 policy that's granted work permits and stays of deportation to more than 600,000 immigrants who arrived in the U.S. illegally as children. That measure passed more narrowly, 218-209, as more than two dozen Republicans joined Democrats in opposition.

The changes Obama announced in November especially enraged the GOP because they came not long after Republicans swept the midterm elections, taking control of the Senate and increasing their majority in the House. Republicans pledged then to revisit the issue once Congress was fully under their control.

But even with Republicans in control of the Senate, the bill faces difficulty there, especially because House GOP leaders decided to satisfy demands from conservative members by including a vote to undo the 2012 policy that deals with younger immigrants known as "Dreamers." The amendment, which is opposed by some of the more moderate Republicans in the House, would ultimately expose those young people to deportation.

House Speaker John Boehner walks from the House chamber as lawmakers vote to fund the Department of Homeland Security but curb President Barack Obama's executive actions on immigration. (AP Photo/J. Scott Applewhite)

Republicans are six votes shy of the 60-vote majority needed to advance most legislation in the Senate, and even some Republicans in that chamber have expressed unease with the House GOP approach, especially given the importance of funding the Homeland Security Department in light of the Paris terrorist attacks.

Some House Republicans acknowledged that the Senate was likely to reject their approach, perhaps forcing them in the end to pass a Homeland Security funding bill stripped of controversial provisions on immigration.

"They're not going to pass this bill," said Rep. Charlie Dent, R-Pa.

Homeland Security money expires at the end of February so House leaders have left themselves several weeks.

Immigrant advocates warned Republicans that Wednesday's votes risked alienating Latino voters who will be crucial to the 2016 presidential election.

How the New Jersey House delegation voted:

Democrats - Norcross, N; Pallone, N; Pascrell, N; Payne, N; Sires, N; Watson Coleman, N.

Republicans - Frelinghuysen, Y; Garrett, Y; Lance, Y; LoBiondo, N; MacArthur, N; Smith, N.

© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed. Learn more about our Privacy Policy and Terms of Use.