After more than eight months in limbo, a bill that would criminalize the practice of lying to obtain the telephone records of private citizens passed the Senate late Friday.

The Senate approved the anti-pretexting bill by a voice vote. The House passed it in April. It now goes to the White House for approval.