In a rare vote that did not follow Texas delegation party lines, the U.S. House passed a measure on Thursday that will reauthorize the collection of foreign surveillance within the United States for another six years. 

The legislation will extend the government's capacity to collect the correspondence of foreign targets from American cell phone and technology companies without a warrant, including when an American is involved in the conversation.

Republicans mostly backed the measure and Democrats largely opposed it. But many members crossed party lines as those from both ends of the political spectrum have raised privacy concerns about domestic surveillance.

Some libertarian-minded Texas Republicans voted against it – including U.S. Reps. Michael Burgess of Lewisville, Blake Farenthold of Corpus Christi, Louie Gohmert of Tyler, Ted Poe of Humble, Randy Weber of Friendswood and Roger Williams of Austin. 

The Texas Tribune thanks its sponsors. Become one.

On the Democratic side, U.S. Reps. Henry Cuellar of Laredo and Marc Veasey of Fort Worth voted with Republicans to pass the measure, as did Democratic Minority Leader Nancy Pelosi. 

In the larger body, the measure passed 256 to 164. 

There was serious question earlier in the day over whether the measure would pass at all after President Donald Trump tweeted critically on the policy Thursday morning. He then pulled back an hour and a half later with a subsequent tweet urging lawmakers to reauthorize the program after reportedly speaking with U.S. House Speaker Paul Ryan. 

The legislation still needs to pass the Senate. 

In a post on Facebook, Poe described the measure as “a flawed reauthorization bill that contains virtually no reforms, violates Americans’ Fourth Amendment rights, and approves warrantless surveillance of our very own citizens.”

Cuellar said the program is an important tool for tracking potential terrorists.

“I have been a consistent advocate for a strong national defense, and that includes our ability to stop terrorists before they attack,” Cuellar said. “This bill protects our civil liberties without hindering the ability of our intelligence community to monitor terror suspects, analyzes collected data, and, most importantly, keeps us safe.”

Read related Tribune coverage:

  • Congress sent a massive tax cut bill to Trump last month. Here's how Texans voted. [Full story]

  • In October, U.S. Rep. Al Green, a Houston Democrat, introduced formal articles of impeachment against President Donald Trump. [Full story]

  • As Texans in Congress grow increasingly anxious about Hurricane Harvey relief funding, some joined a bipartisan group of U.S. House members from Florida, threatening to oppose a relief bill unless funding is "significantly improved." [Full story]

Never miss a moment in Texas politics with our daily newsletter.