The US Congress completed action Tuesday to end the government's huge program of collecting telephone call data designed to help stop terrorist attacks. American telephone companies will take over the task in six months.

The Senate voted 67-32 in favor of legislation already approved by the House of Representatives. It was then sent to President Barack Obama for his signature. Mr. Obama says he will quickly sign the legislation. He says the new rules protect both civil liberties and national security.