The Senate finally is expected to pass a bill overhauling rules on secret government eavesdropping, completing a lengthy and bitter debate that pitted privacy and civil liberties concerns against the desire to prevent terrorist attacks.
The vote, planned for Wednesday, would end almost a year of wrangling between the House and Senate, Democrats and Republicans, and Congress and the White House over the president's warrantless wiretapping program that was initiated after the Sept. 11, 2001, terrorist attacks.
A major issue was the Bush administration's insistence that the bill shield from civil lawsuits telecommunications companies that helped the government eavesdrop on Americans without court permission after 9/11.
The White House had threatened to veto the bill unless it immunized companies like AT&T Inc. and Verizon Communications Inc. from wiretapping lawsuits. About 40 such lawsuits have been filed. They are all pending before a single federal court.