When the House of Representatives recently considered an amendment that would have dismantled the NSA's bulk phone records collection program, the White House swiftly condemned the measure. But only five years ago, Sen. Barack Obama, D-Ill. was part of a group of legislators that supported substantial changes to NSA surveillance programs. Here are some of the proposals the president co-sponsored as a senator.

As a senator, Obama wanted to limit bulk records collection.

Obama co-sponsored a 2007 bill, introduced by Sen. Russ Feingold, D-Wis., that would have required the government to demonstrate, with "specific and articulable facts," that it wanted records related to "a suspected agent of a foreign power" or the records of people with one degree of separation from a suspect. The bill died in committee. Following pressure from the Bush administration, lawmakers had abandoned a similar 2005 measure, which Obama also supported.

We now know the Obama administration has sought, and obtained, the phone records belonging to all Verizon Business Network Services subscribers (and reportedly, Sprint and AT&T subscribers, as well). Once the NSA has the database, analysts search through the phone records and look at people with two or three degrees of separation from suspected terrorists.