Updated 6:55 p.m. ET
Speaker John A. Boehner (R-Ohio), who as head of the House rarely votes on legislation, voted against the amendment.
The plan would restrict how the NSA can collect bulk phone records and metadata under the Patriot Act. Agency officials would be able to continue collecting telephone records, but only for people connected to relevant ongoing investigations.
The proposal also would require that secret Foreign Intelligence Surveillance Act (FISA) court opinions be made available to lawmakers and that the court publish summaries of each opinion for public review.